Forum Discussion
Deleted
Jan 13, 2018Compare two worksheets and update any empty cells
Table 1 Table 2
A B A B
URN Postcode URN Postcode
12345 DE34 ...
Haytham Amairah
Jan 13, 2018Silver Contributor
Alex,
In this case, VLOOKUP won't work, because the lookup value isn't in the leftmost of the table array, this a limitation in VLOOKUP.
So, you can use INDEX/MATCH which is the best alternative.
=INDEX($D$2:$D$4,MATCH(B2,$E$2:$E$4,0))
Please find the attached file.