Link to home
Create AccountLog in
Avatar of ckelsoe
ckelsoeFlag for United States of America

asked on

HowTo: Compare two columns of data in two different spreadsheets and return the value of another column

I am stumped on how to do the following comparison / validation. I have two workbooks that look like this:

Workbook 1:

Item     Value
A           1
B           2
C           3
D           4

Workbook 2:

Item  Value ValueFromOtherWorkbook
C         5            ?     <-- the value I want in this cell is 3
A         1            ?     <-- the value I want in this cell is 1

The list in each workbook are in a Table - not sure if that matters.

I have tried the Index and Match functions as well as vlookup.

Ultimately, I want to check all of the values in Workbook 2 that match up with items in Workbook 1.
ASKER CERTIFIED SOLUTION
Avatar of barry houdini
barry houdini
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of ckelsoe

ASKER

Perfect. I was going about it in the wrong way. I added ISERROR around it to handle when no match was found and am good to go. Thanks very much.