Find matches with multiple criteria

Annette L

New Member
Joined
Apr 30, 2021
Messages
3
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi everyone,

My question is going to be easy for someone to answer, but for the life of me I can't get anything to work.

I have two lists with first name and last names in separate columns. I need to compare the lists and find out is the person is on both lists.

I have been using the =isnumber(match(_,_,)) function successfully with one column, but how do I do it for both columns?

LastFirst
SmithSarah
ThompsonNichole
JonesChris
CainChris

LastNameFirstName
SmithTom
JonesChris
MillerSue
PhillipsJulie
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi & welcome to MrExcel.
How about
+Fluff 1.xlsm
ABCDEF
1LastFirstLastNameFirstNameIn Both
2SmithSarahSmithTomFALSE
3ThompsonNicholeJonesChrisTRUE
4JonesChrisMillerSueFALSE
5CainChrisPhillipsJulieFALSE
6
Lists
Cell Formulas
RangeFormula
F2:F5F2=ISNUMBER(MATCH(D2&"|"&E2,$A$2:$A$9&"|"&$B$2:$B$9,0))
 
Upvote 0
1619796752925.png

So I recreated what you suggested and I still get False for Chris Jones. Can't seem to find what I did wrong. Can you see it?
 
Upvote 0
Are you using this in 365 or 2016?
 
Upvote 0
In that case check that there are no leading/trailing spaces in any of the cells.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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