Reputation: 5943
If I have 2 sheets in Excel that look like this:
Sheet 1:
| IBM | First Name | Last Name |
--------------------------------------------------
1542 John Doe
1487 Blah Blah
Sheet 2:
| IBM | First Name | Last Name |
--------------------------------------------------
1542 John Doe
1487 Blah Blah
1849 Third Name
Now, I need the outcome to provide me the people that exist in sheet 2 but do not exist in sheet 1, based on IBM.
So in this particular example, I need the outcome to be:
IBM: 1849
Can this be done in excel? If so, how?
Upvotes: 0
Views: 65
Reputation: 2666
The COUNTIF function is an easy way to check if a value exists in a data set:
=COUNTIF(Sheet1!A:A,A1)
Upvotes: 2