Hi all
I am trying to do an OR statement to include if a value returns back #N/A or 0 (if a value is found of the look up but there is no value to return, hope that makes sense)
So Harry exists but has no score so this returns 0
I was successful with the ISNA and the 0 individually but cant seem to merge them.
The formula I attempted was =IF(OR(ISNA(INDEX($D$3:$D$5,MATCH(F5,$C$3:$C$5,FALSE))),INDEX($D$3:$D$5,MATCH(F5,$C$3:$C$5,FALSE))=0),"",INDEX($D$3:$D$5,MATCH(F5,$C$3:$C$5,FALSE))) but John still seems to return #N/A
Any help on this would be welcome as always and if possible a reason why my formula failed, I really thought I had it...
I am trying to do an OR statement to include if a value returns back #N/A or 0 (if a value is found of the look up but there is no value to return, hope that makes sense)
So Harry exists but has no score so this returns 0
I was successful with the ISNA and the 0 individually but cant seem to merge them.
The formula I attempted was =IF(OR(ISNA(INDEX($D$3:$D$5,MATCH(F5,$C$3:$C$5,FALSE))),INDEX($D$3:$D$5,MATCH(F5,$C$3:$C$5,FALSE))=0),"",INDEX($D$3:$D$5,MATCH(F5,$C$3:$C$5,FALSE))) but John still seems to return #N/A
Any help on this would be welcome as always and if possible a reason why my formula failed, I really thought I had it...
Name | Score | Lookup | Return | |
James | 56 | James | 56 | |
Fred | Harry | |||
Harry | John | #N/A |