TX Sheet Control

IFNA Function

Function

Use a fallback when an expression returns the #N/A error. value is the expression to check and value_if_na the result to return when value is #N/A, for example from a lookup that finds nothing. Other errors, such as #DIV/0!, are returned unchanged; use IFERROR to catch them.

Syntax

IFNA(value, value_if_na)

Category: Logical. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

Examples

=IFNA(NA(),0)

The formula returns 0 instead of the #N/A error of NA().

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also