VLOOKUP - Multi Condition

L

Lookup Help

I've tried to use the match case to return a value based
on two conditions but it doesn't seem to work. Does
anyone know of a way to use VLOOKUP with multiple
conditions?

This is the formula I used with Match:
=INDEX(C2:C10,MATCH(1,(A2:A10=3)*(B2:B10=15),0))

This was entered as an array formula.

Thanks in advance!
 
P

Peo Sjoblom

You formula is correct array entered,
maybe the numbers are text, try

=INDEX(C2:C10,MATCH(1,(A2:A10="3")*(B2:B10="15"),0))

or better convert them to numbers

copy an empty cell, select A2:B10, do edit>paste special, select add
 
G

Guest

I only get N/A as the return value.
-----Original Message-----
You formula is correct array entered,
maybe the numbers are text, try

=INDEX(C2:C10,MATCH(1,(A2:A10="3")*(B2:B10="15"),0))

or better convert them to numbers

copy an empty cell, select A2:B10, do edit>paste special, select add




--

Regards,

Peo Sjoblom





.
 
P

Peo Sjoblom

That means the condition is not true and if you are sure it is true then you
have
either text numbers or text numbers with hidden characters (char 160 for
example)
Did you try to convert them using the paste special method?
 

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