VLOOPUP to compare 2 spreadsheets

Mojosixx

New Member
Joined
Mar 22, 2010
Messages
42
I need to compare 2 spreadsheets and identify the employees missing from one of them. The first spreadsheet is a list of our employees. The second spreadsheet is a list of employees that attended a training in October 2017. Both spreadsheets include the employees unique badge number. Can I use VLOOPUP to identify what employees did not attend?
 
Here is the current set-up.

Worksheet 1 titled "Employees" is a list of all employee badge numbers starting in A2.
Worksheet 2 titled "Attendance" is a list of the badge numbers for the employees who attended the training, starting in A2 as well.

In cell B2 of worksheet one I pasted the following formula:

=1-ISNUMBER(MATCH($A2,Sheet2!A:A,0))

Do one of these work for you?

1) Control+shift+enter, not just enter:

=1-ISNUMBER(MATCH($A2,TRIM(Sheet2!A:A),0))


2)

=1-ISNUMBER(LOOKUP(9.99999999999999E+307,SEARCH($A2,Sheet2!A:A,0)))
 
Upvote 0

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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