I have a dataset with numerous combinations of alpha and numeric values in a given column.
I need to do TWO things.
1) Determine if the 1st character is numeric - if so, the initial condition is met.
2) If numeric, is the character between 1 and 9 (greater than 0) - if so, the final condition is met and the record receives a "Pass."
I'm supplying 2 lines of code that seem to work equally well at handling the initial condition.
It's the final condition that's giving me pain...
Thanks in advance!
I need to do TWO things.
1) Determine if the 1st character is numeric - if so, the initial condition is met.
2) If numeric, is the character between 1 and 9 (greater than 0) - if so, the final condition is met and the record receives a "Pass."
I'm supplying 2 lines of code that seem to work equally well at handling the initial condition.
It's the final condition that's giving me pain...
Thanks in advance!
Code:
=IF(ISERR(LEFT(AO3,1)*1),"ERROR","OK")
=IF(ISNUMBER(VALUE(LEFT(AO3,1))),"OK","ERROR")