K
KerriL
Hello,
I am hoping someone can help me with this. Essentially, I am trying t
construct an If statement that will return "OK" or "NO" based on whethe
one cell is equal to any of another 5. All 6 cells in question ar
populated via a VLOOKUP function or a calculated formula. All the cell
themselves are populated correctly. However, the IF statement is no
able to correctly determine whether the one cell matches one of th
other five. To put it another way, if M1 is equal to H1, I1, J1, K1, o
L1, I want the formula to display "OK", and if M1 does not equal any o
those, I want it to display "NO". Sometimes the equation works, but 99
of the time it doesn't. I think it has something to do with how th
Vlookup/other formulas are formatting the numbers in the cells that th
IF statement is checking--but I can't figure out how. I've told all th
cells to format as number decimals with two digits--and the rows wher
the If statement works seem to be formatted the same as the rows wher
it doesn't.
I've tried two different IF statements, and both have the same issue. I
something wrong with my formulas, or is this a formating issue?
=IF(OR(M697=H697,M697=I697,M697=J697,M697=K697,M697=L697),"OK","NO")
=IF(M693=H693,"OK",IF(M693=I693,"OK",IF(M693=J693,"OK",IF(M693=K693,"OK",IF(M693=L693,"OK","NO")))))
Thank you very much for your help
I am hoping someone can help me with this. Essentially, I am trying t
construct an If statement that will return "OK" or "NO" based on whethe
one cell is equal to any of another 5. All 6 cells in question ar
populated via a VLOOKUP function or a calculated formula. All the cell
themselves are populated correctly. However, the IF statement is no
able to correctly determine whether the one cell matches one of th
other five. To put it another way, if M1 is equal to H1, I1, J1, K1, o
L1, I want the formula to display "OK", and if M1 does not equal any o
those, I want it to display "NO". Sometimes the equation works, but 99
of the time it doesn't. I think it has something to do with how th
Vlookup/other formulas are formatting the numbers in the cells that th
IF statement is checking--but I can't figure out how. I've told all th
cells to format as number decimals with two digits--and the rows wher
the If statement works seem to be formatted the same as the rows wher
it doesn't.
I've tried two different IF statements, and both have the same issue. I
something wrong with my formulas, or is this a formating issue?
=IF(OR(M697=H697,M697=I697,M697=J697,M697=K697,M697=L697),"OK","NO")
=IF(M693=H693,"OK",IF(M693=I693,"OK",IF(M693=J693,"OK",IF(M693=K693,"OK",IF(M693=L693,"OK","NO")))))
Thank you very much for your help