Formualizer Docs

ISNUMBER

Returns TRUE when the value is numeric.

This includes integer, floating-point, and temporal serial-compatible values.

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

=ISNUMBER(value)

Arguments

ArgumentTypeRequiredDefault
valueanyRequired—

Return type

Logical (TRUE or FALSE)

Remarks

  • Returns TRUE for Int, Number, Date, DateTime, Time, and Duration.
  • Text that looks numeric is still text and returns FALSE.
  • Errors are treated as non-numeric and return FALSE.

Examples

Test how the predicate classifies a logical value.

Formula =ISNUMBER(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 =ISNUMBER("123")

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 an empty string, which still has a text type.

Formula =ISNUMBER("")

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?.

Number is numeric

Formula =ISNUMBER(42)

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?.

Numeric text is not numeric

Formula =ISNUMBER("42")

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

Does numeric-looking text count as a number?

No. ISNUMBER checks the stored value type, so text like "42" returns FALSE.

Implementation

Engine source

On this page