Vlookup with more than 1 criteria
How about:-
=SUMPRODUCT((A1:A5="Dog")*(B1:B5="Brown")*(C1:C5))
You don't say what you want if you searched for Grey dogs, this would return
46
Mike
"EoinL" wrote:
Dog brown 25
Dog Grey 28
Cat Blue 30
Rabbit Brown 12
Dog grey 18
Can the vlookup function be used to lookup more than one value in a row and
return a single corresponding value?
In the example below I want to return the value 25. But if I lookup "dog",
there's two and if I look up "brown" there's also two so I need to lookup dog
and brown together?
|