How to compare 4 columns in Excel

GINA BETHEA-SANTIAGO 0 Reputation points
2024-11-22T15:04:38.9333333+00:00

I have 4 columns first two are First Name and Last Name the other two are the same. The data comes from two different spreadsheets. I need to see if any names from the first two columns match any in the last two columns.

Thanks!

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,990 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Barry Schwarz 3,071 Reputation points
    2024-11-22T22:06:08.1733333+00:00

    Create a fifth column containing the full names from columns 1 & 2. Use TEXTJOIN or a simple concatenation formula. Do the same in a sixth column with the data form columns 3 & 4.

    Write (or record) a little macro that attempts to FIND the contents of the active cell in column 6. Invoke the macro from each cell in column 5

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.