ISTEXT Function
Checks whether a value is text.
Category
Information
Available in
All versions, Microsoft 365
Returns
TRUE or FALSE
Overview
ISTEXT returns TRUE when a value is text — including numbers that were stored as text and formulas that return text.
It's useful for validating inputs and catching amounts or dates that won't add up because they're really text.
Syntax
=ISTEXT(value) Explain
Arguments
| Argument | Required? | What it does |
|---|---|---|
| value | Yes | The value, cell or formula to check. |
Examples
Example 1 — Check a column of IDs
Every employee ID should be text like E-104. A blank cell isn't text.
B2fx=ISTEXT(A2)
| A | B | |
|---|---|---|
| 1 | Employee ID | Text? |
| 2 | E-104 | TRUE |
| 3 | 2207 | FALSE |
| 4 | FALSE | |
| 5 | E-311 | TRUE |
=ISTEXT(A2) Explain
Example 2 — Warn when a quantity was typed as text
Use it with IF to show a message right next to the input.
=IF(ISTEXT(B2),"Re-enter as a number","") Explain
Common mistakes
- A cell with only a space returns TRUE. A space is text. Clean the data with TRIM first.
Notes
- Data › Data Validation can stop text from being typed in the first place: choose Decimal or Whole number.
- Related functions: ISBLANK, ISNUMBER, ISTEXT, ISNONTEXT, ISLOGICAL, ISERROR, ISERR, ISNA, ISFORMULA, ISREF.

Author
Kyle Stott
Certified Microsoft Excel Expert
Kyle has worked professionally with Microsoft Excel for over a decade and has consulted on and taught Excel best practices to over 400 companies across 30+ countries.