Information function

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)
ArgumentWhat it means
valueRequiredThe 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

C2fx=ISNONTEXT(B2)
ABC
1InvoiceAmount
2INV-8011250TRUE
3INV-802n/a
4INV-803

Result: TRUE

1,250 is a number, so it is non-text and the result is TRUE.

2Text in an amount column

C3fx=ISNONTEXT(B3)
ABC
1InvoiceAmount
2INV-8011250
3INV-802n/aFALSE
4INV-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

C4fx=ISNONTEXT(B4)
ABC
1InvoiceAmount
2INV-8011250
3INV-802n/a
4INV-803TRUE

Result: TRUE

B4 is empty. It contains no text, so ISNONTEXT returns TRUE, whereas ISNUMBER(B4) would return FALSE.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 15 KB

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.

LanguageFunction name
CzechJE.NETEXT
DanishER.IKKE.TEKST
DutchISGEENTEKST
FinnishONEI_TEKSTI
FrenchESTNONTEXTE
GermanISTKTEXT
HungarianNEM.SZÖVEG
ItalianVAL.NON.TESTO
Norwegian (Bokmål)ERIKKETEKST
PolishCZY.NIE.TEKST
Portuguese (Brazil)É.NÃO.TEXTO
Portuguese (Portugal)É.NÃO.TEXTO
RussianЕНЕТЕКСТ
SpanishESNOTEXTO
SwedishÄREJTEXT
TurkishEMETİNDEĞİLSE