Category: FUNCTION | Updated: 2026-11-22
How to Use the ISTEXT Function in Google Sheets | Check Whether a Value Is Text
ISTEXT Function
The ISTEXT function checks whether a specified value is text (a string), returning TRUE if it is text and FALSE if it is a number, blank, logical value, error value, or other non-text type.
Syntax
=ISTEXT(value)
- value: Specifies the value or cell reference you want to check for being text.
Practical Table Example
These are the results of running the ISTEXT function on various types of data.
| Cell | A (Input Data) | B (Description) | C (Formula) | D (Result) |
|---|---|---|---|---|
| 1 | Tokyo | Regular text | =ISTEXT(A1) |
TRUE |
| 2 | '001 |
Number entered as text | =ISTEXT(A2) |
TRUE |
| 3 | ="" |
Empty string from formula | =ISTEXT(A3) |
TRUE |
| 4 | 100 | Number | =ISTEXT(A4) |
FALSE |
| 5 | (Unentered) | Blank cell | =ISTEXT(A5) |
FALSE |
Common Errors and Precautions
- Empty string
""returnsTRUE: While an unentered blank cell returnsFALSE, a cell containing""(empty string) as a formula result is treated as a zero-length string and returnsTRUE. - Numeric strings that look like numbers: This is useful for detecting cells such as postal codes or product codes that look like numbers visually but are stored as text.
Frequently Asked Questions
Q. What happens when you use the ISTEXT function on a blank cell?
A. FALSE is returned. However, a cell where a formula returns "" (an empty string) is treated as text, so it returns TRUE.
Q. Are error values (#N/A or #VALUE!) judged as text?
A. No, error values are not text, so FALSE is returned.