ISTEXT Function
Tests whether a value is text.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| value | The value, cell reference, or formula result to test. | Required |
Basic Example
Check a cell containing a word
=ISTEXT("Hello")"Hello" is a text string, so the function returns TRUE.
Advanced Examples
Example 1: An empty string is text
A formula returns "" to indicate no data.Detect a formula-produced empty string
=ISTEXT(A1)Example 2: Numbers are not text
Verify a numeric cell.Confirm a number returns FALSE
=ISTEXT(42)How ISTEXT Works
ISTEXT checks the data type of the supplied value. If it is a text string—including numbers stored as text and the empty string ""—it returns TRUE; numbers, logicals, errors, blank cells, and dates return FALSE.
Important Notes & Limitations
Numbers formatted as text return TRUE.
An empty string "" produced by a formula is considered text.
Errors, logicals, and numbers return FALSE.
Common Errors & Fixes
Unexpected TRUEA number is stored as text.Fix: Convert it to a number with VALUE() or Text to Columns.
FALSE on a dateDates are stored as numbers.Fix: Use ISNUMBER to test for dates.
Download Practice File
ISTEXT
istextPractice ISTEXT with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the ISTEXT function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps