Hi
I have been wracking my tiny brain all day and cannot figure out what I am doing wrong.
Basically my formula needs to do the following:
lookup a value in a set column according to ID number and if this is blank to leave blank and do nothing else,
if not blank to lookup another column value and based on this value (0 or 1) perform another lookup
My formula is:
=IFERROR(IF(VLOOKUP($B7,Primary,J$2,FALSE)="","",IF($AH7=0,VLOOKUP($B7,Primary,J$3,FALSE),VLOOKUP($B7,Primary,J$126,FALSE))),"")
The formula brings out the correct data but the first condition, if its blank then leave as blank and do nothing else is being ignored.
Any clues?
I have been wracking my tiny brain all day and cannot figure out what I am doing wrong.
Basically my formula needs to do the following:
lookup a value in a set column according to ID number and if this is blank to leave blank and do nothing else,
if not blank to lookup another column value and based on this value (0 or 1) perform another lookup
My formula is:
=IFERROR(IF(VLOOKUP($B7,Primary,J$2,FALSE)="","",IF($AH7=0,VLOOKUP($B7,Primary,J$3,FALSE),VLOOKUP($B7,Primary,J$126,FALSE))),"")
The formula brings out the correct data but the first condition, if its blank then leave as blank and do nothing else is being ignored.
Any clues?