Post image for VLOOKUP Multiple Criteria

VLOOKUP Multiple Criteria

by on February 15, 2012

in Excel,Microsoft Office Training,Online Training


I had an email from Bobcat today asking how to lookup data that is spread across multiple columns.

VLOOKUP Multiple ValuesTable 1 has data with the name in just one column:







 
 

vlookup multiple criteriaAnd Table 2 has the name across 3 columns (D, E and F):





 
 

We want to find the Employee number from Table 1 and put it in column G of Table 2.

The solution is quite simple. We just need to join together the cells containing the name in Table 2, before looking them up in Table 1.

We can do this within a VLOOKUP formula like this:

=VLOOKUP(D6&” “&E6&” “&F6,table_1,2,FALSE)

Note:  table_1 in the above formula is the named range for cells A6:B11

excel lookup multiple criteria

See in the formula bar how I’ve joined the text from columns D, E and F together using the ampersand symbol. I’ve also added a space between the text by inserting double quotes with a space between.

excel lookup multiple values

The VLOOKUP formula is resolving the D6&” “&E6&” “&F6 arguments of the formula like this:

=VLOOKUP(William J Oxley,table_1,2,FALSE)

Thanks for your question Bobcat.

FREE PDF Download
100 Excel Tips & Tricks

Excel Tips & Tricks E-Book
Just enter your details below

Leave a Comment

Previous post:

Next post: