# ISTEXT in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/istext/

ISTEXT returns TRUE when the value is a text string and FALSE for numbers, dates, logical values and empty cells. It is often used inside IF to catch numbers that arrived as text.

## Syntax

```
ISTEXT(value)
```

## Arguments

- `value` (any, required: yes): The value to test: a cell, a number, a string or a formula.

## Examples

The examples use this table, starting in A1:

| Item | Qty |
|---|---|
| Desk lamp | 12 |
| Cable tray | 40 |
| None | None |

```
=ISTEXT(A2)
```

Result: `TRUE`

A cell with words is text. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=ISTEXT(B2)
```

Result: `FALSE`

A cell with a number is not text. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=ISTEXT("549")
```

Result: `TRUE`

Digits inside quotes are a string, so this is TRUE. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=ISTEXT(A5)
```

Result: `FALSE`

A truly empty cell is not text. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=ARRAYFORMULA(ISTEXT(A2:B3))
```

Result: 

| TRUE | FALSE |
|---|---|
| TRUE | FALSE |

Test a block at once: TRUE for the names, FALSE for the quantities. Run in a Google Sheet (English US locale) on 2026-11-29.

## Common errors

- An empty string "" is text, so ISTEXT("") is TRUE, while a truly empty cell gives FALSE.
- Dates and times are numbers, so ISTEXT(DATE(2026,11,29)) is FALSE. Logical values such as TRUE are not text either.
- Digits in quotes are text: ISTEXT("549") is TRUE.

## Compared with Excel

Same syntax in Excel.

## Used in recipes

- [How to sort by date in Google Sheets](https://goingstellar.ro/reference/sheets/recipes/sort-by-date/)

## Related functions

- [ISNUMBER](https://goingstellar.ro/reference/sheets/isnumber/)
- [ISBLANK](https://goingstellar.ro/reference/sheets/isblank/)
- [IFERROR](https://goingstellar.ro/reference/sheets/iferror/)
- [IF](https://goingstellar.ro/reference/sheets/if/)
- [VALUE](https://goingstellar.ro/reference/sheets/value/)

## Sources

- [ISTEXT (Docs Editors Help)](https://support.google.com/docs/answer/3093297)

