J
John Wilson
Having some brain farts with this one....
If anyone has a moment to steer me in the right direction.....
My lookup table (RangeB5:C8):
(row) B C
5 1 4
6 2 3
7 6 7
8 5 8
My results table (what it should look like)
Column A is static 1 thru 8
Column B should show the mate from Range (B5:C8)
(row) B C
14 1 4
15 2 3
16 3 2
17 4 1
18 5 8
19 6 7
20 7 6
21 8 5
My formula (so far) in column B:
=IF(ISNA(VLOOKUP(B14,$B$5:$C$8,2,FALSE)),"problem",VLOOKUP(B14,$B$5:$C$8,2,F
ALSE))
The above works if the lookup was found in Column B.
I know that I need an INDEX/MATCH for the "problem", but I can't seem to get
it to work.
Basically, I'm looking up the numbers 1 thru 8 in B5:C8
If found, return the number to the right of where it was found.
If not found with the VLookup, it has to be found in Column C
but I need to return it's mate from Column B
Thanks,
John
If anyone has a moment to steer me in the right direction.....
My lookup table (RangeB5:C8):
(row) B C
5 1 4
6 2 3
7 6 7
8 5 8
My results table (what it should look like)
Column A is static 1 thru 8
Column B should show the mate from Range (B5:C8)
(row) B C
14 1 4
15 2 3
16 3 2
17 4 1
18 5 8
19 6 7
20 7 6
21 8 5
My formula (so far) in column B:
=IF(ISNA(VLOOKUP(B14,$B$5:$C$8,2,FALSE)),"problem",VLOOKUP(B14,$B$5:$C$8,2,F
ALSE))
The above works if the lookup was found in Column B.
I know that I need an INDEX/MATCH for the "problem", but I can't seem to get
it to work.
Basically, I'm looking up the numbers 1 thru 8 in B5:C8
If found, return the number to the right of where it was found.
If not found with the VLookup, it has to be found in Column C
but I need to return it's mate from Column B
Thanks,
John