This seems so simple yet my formula isn't working - so I must be going about this the wrong way.
I have a row of data from column B to column Z:
A, B, C, D, E, F, G, H...
If the row contains an "A" or an "H" (or any other value) I would like to simply show a "1" in the current cell - A1. My formula below seems fairly straightforward but I get #N/A. Any help would be appreciated
=IF((OR(MATCH("A",$B1:$Z1,0),MATCH("H",$A1:$Z1,0))),1,"")
I have a row of data from column B to column Z:
A, B, C, D, E, F, G, H...
If the row contains an "A" or an "H" (or any other value) I would like to simply show a "1" in the current cell - A1. My formula below seems fairly straightforward but I get #N/A. Any help would be appreciated
=IF((OR(MATCH("A",$B1:$Z1,0),MATCH("H",$A1:$Z1,0))),1,"")
Last edited: