Check first name and surname in one worksheet against first name and surname in second worksheet and bring back YES if the name is on both lists

melsmiff

New Member
Joined
Oct 16, 2007
Messages
12
I have 2 worksheets, one with a list of names of people who registered for an event, and one with a list of names for those who actually turnedup. I am trying to find a formula to Check one worksheet against the other and bring back YES if the name is on both lists. The names are split into first name and surname
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
assuming in A and B on sheet1 & Sheet2
comparing Sheet1 with 2
=COUNTIFS(Sheet2!A:A, Sheet1!A2, Sheet2!B:B, Sheet1!B2)
then use an IF
=IF ( COUNTIFS(Sheet2!A:A, Sheet1!A2, Sheet2!B:B, Sheet1!B2) = 1 , "YES", "NO" )
 
Upvote 0

Forum statistics

Threads
1,214,528
Messages
6,120,064
Members
448,941
Latest member
AlphaRino

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