Compare Data in Two Spreadsheets

jafornwalt

New Member
Joined
May 7, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi, I tried to find the answer in other threads, but couldn't find exactly what I need. I have 2 spreadsheets that both have column A as Last Name and Column B as First Name. I need to compare both spreadsheets to find exact matches to both columns. I can do the match formula to match last names, but that gives me too many results. Can you help?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Try this.

In both the sheets add a column before column A as First & Last name
then add this function in cell A1 (in both the sheets

=TRIM(B2&" "&C2) --- Here column B is First Name and column C is Last Name in sheet1
=TRIM(B2&" "&C2) --- Here column B is First Name and column C is Last Name in sheet2

then in column D -- (Find name from sheet2)
Cell D2
=VLOOKUP(A2,Sheet2!A1:C3,1,0) -- here 1 is First & Last Name (column A)


First & Last NameLast NameFirst NameFind in sheet2
=TRIM(B2&" "&C2)VSh=VLOOKUP(A2,Sheet2!A:C,1,0)
=TRIM(B3&" "&C3)JonKarter
 
Upvote 0
Solution

Forum statistics

Threads
1,214,821
Messages
6,121,759
Members
449,048
Latest member
excelknuckles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top