advanced VLOOKUP command?

S

smith06374

Is there a way to use the vlookup function to look for two values in
one table (lets say, columns A&B) and return the value in column C?

For example
Column A Column B Column C
Big Blue =VLOOKUP
(???????????????) so that "Bird" is returned

source
Column X Column Y Column Z
Big Blue Bird
 
L

Lars-Åke Aspelin

Is there a way to use the vlookup function to look for two values in
one table (lets say, columns A&B) and return the value in column C?

For example
Column A Column B Column C
Big Blue =VLOOKUP
(???????????????) so that "Bird" is returned

source
Column X Column Y Column Z
Big Blue Bird


Try this formula in cell C1

=INDEX(Z1:Z100,MATCH(A1&B1,X1:X100&Y1:Y100,0))

Note: This is an array formula that should be entered with
CTRL+SHIFT+ENTER rather than just ENTER.

Change the100 to fit the size of your source data in columns X, Y, Z.

Hope this helps / Lars-Åke
 
S

smith06374

THANK YOU THANK YOU THANK YOU!!!!!!!!!!!!!!!!!!!

You just saved me a couple hours worth of tedious mind-numbing work!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top