ISNONTEXT function
Returns TRUE if a value is anything other than text — a number, date, logical value, error or empty cell — and FALSE for text.
Available in All versions of Excel, including Microsoft 365 and Excel for the web
In every Excel versionWorks in Google Sheets
Syntax
ISNONTEXT(value)| Argument | What it means | |
|---|---|---|
value | Required | The value or cell to test. |
Returns: FALSE if value is text; TRUE otherwise (including for empty cells).
How ISNONTEXT works
ISNONTEXT is simply the opposite of ISTEXT: it returns TRUE for everything that is not text. Numbers, dates, TRUE/FALSE, errors and empty cells all count as "non-text". That last point is the key difference from ISNUMBER — an empty cell is not a number, but it is non-text.
It is useful for validating columns that must not contain words, such as an amount column where someone typed n/a, tbc or see email. Watch out for numbers stored as text (often left-aligned with a green triangle): they are text, so ISNONTEXT returns FALSE for them, which makes it a handy way to spot imported values that will not add up.
Examples
1A proper number
| A | B | C | |
|---|---|---|---|
| 1 | Invoice | Amount | |
| 2 | INV-801 | 1250 | TRUE |
| 3 | INV-802 | n/a | |
| 4 | INV-803 |
Result: TRUE
1,250 is a number, so it is non-text and the result is TRUE.
2Text in an amount column
| A | B | C | |
|---|---|---|---|
| 1 | Invoice | Amount | |
| 2 | INV-801 | 1250 | |
| 3 | INV-802 | n/a | FALSE |
| 4 | INV-803 |
Result: FALSE
Someone typed n/a as the amount. It is text, so ISNONTEXT returns FALSE — this invoice would be skipped by SUM.
3Empty cells count as non-text
| A | B | C | |
|---|---|---|---|
| 1 | Invoice | Amount | |
| 2 | INV-801 | 1250 | |
| 3 | INV-802 | n/a | |
| 4 | INV-803 | TRUE |
Result: TRUE
B4 is empty. It contains no text, so ISNONTEXT returns TRUE, whereas ISNUMBER(B4) would return FALSE.
Tips
- A formula returning
""produces empty text, so ISNONTEXT returns FALSE for it even though the cell looks blank. - Data validation with
=ISNONTEXT(B2)blocks typed words in a numeric column while still allowing the cell to be left empty.
Google Sheets
ISNONTEXT also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
ISNONTEXT in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | JE.NETEXT |
| Danish | ER.IKKE.TEKST |
| Dutch | ISGEENTEKST |
| Finnish | ONEI_TEKSTI |
| French | ESTNONTEXTE |
| German | ISTKTEXT |
| Hungarian | NEM.SZÖVEG |
| Italian | VAL.NON.TESTO |
| Norwegian (Bokmål) | ERIKKETEKST |
| Polish | CZY.NIE.TEKST |
| Portuguese (Brazil) | É.NÃO.TEXTO |
| Portuguese (Portugal) | É.NÃO.TEXTO |
| Russian | ЕНЕТЕКСТ |
| Spanish | ESNOTEXTO |
| Swedish | ÄREJTEXT |
| Turkish | EMETİNDEĞİLSE |