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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

etaf

Well-known Member
Joined
Oct 24, 2012
Messages
5,110
Office Version
  1. 365
Platform
  1. MacOS
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" )
 

Forum statistics

Threads
1,148,190
Messages
5,745,246
Members
423,938
Latest member
manilaphilips

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
Top