When I use the ISNUMBER or ISTEXT function for the whole cell, it gives me the correct true or false result. When I use the ISNUMBER OR ISTEXT with the right function to extract the last 3 characters it is giving me the incorrect results. I want Excel to see the the last 3 characters as if it is the whole cell so it gives me the correct TRUE or FALSE result. So C12052005 is 005 or 5 (the last 3 characters) which is a number. C12052005A is 05A which is text. Here is an example.
Unique List_Frequency.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | ISNUMBER | ISTEXT | |||
2 | 1 | TRUE | FALSE | ||
3 | A | FALSE | TRUE | ||
4 | B | FALSE | TRUE | ||
5 | 2 | TRUE | FALSE | ||
6 | |||||
7 | C12052005 | FALSE | TRUE | ||
8 | C12052005A | FALSE | TRUE | ||
9 | C12052005B | FALSE | TRUE | ||
10 | C12052002 | FALSE | TRUE | ||
Sheet3 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:B5 | B2 | =ISNUMBER(A2) |
C2:C5 | C2 | =ISTEXT(A2) |
B7:B10 | B7 | =ISNUMBER(RIGHT(A7,3)) |
C7:C10 | C7 | =ISTEXT(RIGHT(A7,3)) |