Using Vlookup to compare two adjacent cells in seperate Sheets and set a value

ejwjohn

Board Regular
Joined
Jul 19, 2011
Messages
93
Office Version
  1. 2016
Platform
  1. MacOS
If i have two separate Spread sheets each in a separate Workbook .

The first Sheet contains First and Last Names which is being updated and the information is in Date received order.

The second sheet contains a list of Names (First and Last) and is being updated manually based on the information received in the second Sheet.

Can i use VLOOKUP to compare two adjacent cells (First, Last Name) from the second sheet and use that cell data to compare against a range of cells in the first sheet, is there is a match set the cell with data to a value.

I am trying to make this work but cannot get the VLOOKUP formula to work, it comes up with a Formula error.....

Thank

John
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Maybe something like:

=IF(COUNTIFS('Sheet1'!A:A,A2,'Sheet1'!B:B,B2),"Found","Not Found")

this will count number of times a match is found in same row, if the number is greater than 0, then "Found" will result.

Adjust sheetnames, etc to suit.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,267
Members
449,075
Latest member
staticfluids

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