Hi All,
I'm trying to put together a formula combining "if" and "vlookup" statements.
I have a number of lookupvalues in the following cells which I want to look and derive from a list of codes in column H:
A B C
1 200A 200B 200C
I tried the following formula but for some reason it's not working:
=if(vlookup(A1,H:H,1,false)=A1,A1,if(vlookup(B1,H:H,1,false)=B1,B1,if(vlookup(C1,H:H,1,false)=C1,C1)
It only works if there is a match in cell A1 but if there is no match it's not matching values in cells B1 and C1.
Could someone please help.
Many Thanks,
SONART
I'm trying to put together a formula combining "if" and "vlookup" statements.
I have a number of lookupvalues in the following cells which I want to look and derive from a list of codes in column H:
A B C
1 200A 200B 200C
I tried the following formula but for some reason it's not working:
=if(vlookup(A1,H:H,1,false)=A1,A1,if(vlookup(B1,H:H,1,false)=B1,B1,if(vlookup(C1,H:H,1,false)=C1,C1)
It only works if there is a match in cell A1 but if there is no match it's not matching values in cells B1 and C1.
Could someone please help.
Many Thanks,
SONART