Logiceasy
ISTEXT()
Returns TRUE if a value is a text string.
Syntax
fx
=ISTEXT(value)
Arguments
Example
fx
=ISTEXT("hello")
Paste this into Google Sheets to run it. The live playground on this site covers 24 of the 61 functions, and ISTEXT isn't one of them yet.
Common pitfalls
- Returns TRUE for the empty string
"". Pair withLEN(x) > 0if you need "non-empty text". - Numbers formatted as text (e.g. imported with leading apostrophe) return TRUE: so
ISTEXTis the right test for "stored as string" rather than "looks like text".
Related formulas
Used by