I have 2 workbooks.
First is called June2122.xls
It has columns such as Last Name (B2:B300), First Name (C2:B300), etc…
Second is June Emails.xls
It has columns such as Last Name (B2:B300), First Name (C2:C300), Email Address (D2:D300). These three columns are in a name range called Data_Table
What I need to do is compare the First Name and Last Name (B2:C2) from June2122.xls with the First Name and Last Name (B2:C2) from June Emails.xls. If they match then I need to populate the email address from June Emails.xls (D2) into a new cell on June2122.xls
All cells are formated as “General”.
I’ve tried several formulas, the closest I’ve got was this one:
=IF(ISNA(VLOOKUP(B2,'June Emails.xls'!Data_Table,2,TRUE)),0,VLOOKUP(C2,'June Emails.xls'!Data_Table,3,TRUE))
and all I get is a “FALSE” in the cell the email should be populating in.
Can anyone help with this? Thanks very much in advance!
Hi I know this is an old topic but I have just found Stack overflow,
The following formula will do a lookup based on concatenated Values without a need for an additional concatenated field to be added
**NB: This is an Array Formula so remember to use Ctrl-Shift-Enter to get it to work 🙂
so you can see what each part is referencing (sorry I used my own dummy data) here are the two data tables
The Formula above is used in cell C2 of Sheet2 and is looking up the values of Sheet2!A2 & B2 against Sheet1 column A and B
Figuring out this formula has saved me days of work, I hope it helps 🙂