Formualizer Docs

ISTEXT

Returns TRUE when the value is text.

The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.

Syntax

=ISTEXT(value)

Arguments

ArgumentTypeRequiredDefault
valueanyRequired—

Return type

Logical (TRUE or FALSE)

Remarks

  • Only text literals return TRUE.
  • Numbers, booleans, blanks, and errors return FALSE.
  • No coercion from other types to text is performed for this check.

Examples

Test how the predicate classifies a logical value.

Formula =ISTEXT(TRUE)

Expected result FALSE

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Test numeric-looking text without converting it to a number.

Formula =ISTEXT("123")

Expected result TRUE

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Test an empty string, which still has a text type.

Formula =ISTEXT("")

Expected result TRUE

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Detect text

Formula =ISTEXT("alpha")

Expected result TRUE

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

Number is not text

Formula =ISTEXT(100)

Expected result FALSE

Try this formula

This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.

FAQ

Is an empty string treated as text?

Yes. An empty string literal is still text, so ISTEXT("") returns TRUE.

Implementation

Engine source

On this page