VLookup on multiple columns

S

Shirley Munro

Hi

I want to carry out a Vertical Lookup but the Lookup Value is contained
in 2 columns. Can this be done or would it be best to Concatenate the 2
columns into one?

Thanks

Shirley Munro
 
D

Dave Peterson

Do you mean that you want to match based on the input in two columns?

If yes...

You can use this kind of syntax:

=index(othersheet!$c$1:$c$100,
match(1,(a2=othersheet!$a$1:$a$100)*(b2=othersheet!$b$1:$b$100),0))
(one cell)

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

Adjust the range to match--but you can't use the whole column.
 
C

CLR

I vote for the CONCATENATION option...........I use it all the time.

Vaya con Dios,
Chuck, CABGx3
 
Top