hannah2233
New Member
- Joined
- May 7, 2014
- Messages
- 15
Hi Guys, I am trying to use vlookup (or match/index) to return a value in an array but if the number is repeated, the formula I am using always returns the first match it finds. I've put a simplified version of what I mean below:
1 Cat
1 Dog
2 Fish
In the first cell I am using =vlookup(1,$A$1:$B$3,2,False) which return "Cat", excellent!
But in the second cell I want to return 'Dog" but if I use the same formula it returns "Cat" again.
I need a formula, using the same array, which would ignore cat and return dog
Cheers,
Hannah xx
1 Cat
1 Dog
2 Fish
In the first cell I am using =vlookup(1,$A$1:$B$3,2,False) which return "Cat", excellent!
But in the second cell I want to return 'Dog" but if I use the same formula it returns "Cat" again.
I need a formula, using the same array, which would ignore cat and return dog
Cheers,
Hannah xx