ISTEXT checks whether a value is text, returning TRUE or FALSE — the text-checking counterpart to ISNUMBER.
ISTEXT returns TRUE if a value is text, and FALSE for numbers, blanks, or errors.
It is useful for validating that a field genuinely contains text before running text-only functions like LEFT or UPPER on it.
=ISTEXT(value)| Argument | Description |
|---|---|
| value required | The value or cell to test. |
=ISTEXT(A2)Returns TRUE if A2 holds text, FALSE if it holds a number or is blank.
=IF(ISTEXT(A2),UPPER(A2),"Not text")Only applies UPPER if A2 genuinely contains text, avoiding unexpected results on numeric cells.
=ISTEXT(A2)If A2 should hold a number but ISTEXT returns TRUE, the value was likely typed or imported with a leading apostrophe or as a text-formatted cell.
This is actually correct behavior — a blank cell is neither text nor a number, so both functions return FALSE on it.
ExcelPro has 700+ hands-on Excel exercises across 7 career tracks — free to start, no download needed.
Start practicing free →