Information

ISTEXT Formula

ISTEXT returns TRUE if a value is text and FALSE for numbers, booleans, blanks, and errors. It is useful for validating data types, building conditional logic that handles text differently from numbers, and identifying cells where numeric values were accidentally stored as text.

Syntax

ISTEXT(value)
ParameterDescription
value Parameter of the ISTEXT function.
Try ISTEXT in Viztab — free, no signup

Examples

Check data type

Formula
=ISTEXT(A1)
Returns TRUE if A1 contains text like "Hello" or "123" (number stored as text). Returns FALSE for numeric 123, TRUE/FALSE, or blanks.

Find text-formatted numbers

Formula
=AND(ISTEXT(A1), ISNUMBER(VALUE(A1)))
Returns TRUE when A1 looks like a number but is stored as text (e.g., "500"). Useful for finding data import errors.

Type-specific processing

Formula
=IF(ISTEXT(B2), UPPER(B2), B2)
Converts text values to uppercase but leaves numbers unchanged. Prevents the #VALUE! error from applying text functions to numbers.

Common Errors

#VALUE!

ISTEXT never errors — it always returns TRUE or FALSE.

Tips

Empty string is text

A cell containing ="" returns TRUE for ISTEXT, even though it appears blank. A truly empty cell returns FALSE.

Opposite of ISNUMBER (mostly)

ISTEXT and ISNUMBER are not exact opposites. Booleans, blanks, and errors return FALSE for both. Use TYPE() for complete type detection.

Spot text-formatted numbers

If a SUM formula returns 0 but cells look filled with numbers, check with ISTEXT. Numbers stored as text won't be included in SUM, AVERAGE, etc.

Try ISTEXT in Viztab

Import your data and use ISTEXT with 370+ other formulas. No signup required.

Open Viztab

Related Formulas