Formualizer Docs
ReferenceFunctionsLogical (Extended) Functions

IFNA

IFNA: Returns a fallback only when the first expression is `#N/A`.

Summary

IFNA(value, value_if_na) is narrower than IFERROR.

Remarks

  • Only #N/A triggers fallback.
  • Other error kinds are returned unchanged.
  • Non-error results pass through unchanged.
  • Exactly two arguments are required; other arities return #VALUE!.

Examples

Catch N/A
Grid
CellValue
No inputs on Sheet1.
Formula
=
Result
Not evaluated yet.
Expected
missing
Do not catch other errors
Grid
CellValue
No inputs on Sheet1.
Formula
=
Result
Not evaluated yet.
Expected
#DIV/0!

FAQ

Which errors does IFNA intercept?

Only #N/A is intercepted; all other errors pass through unchanged.

Runtime metadata

Category

Logical Ext

Signature

IFNA(arg1: Any, arg2: Any)

Arity

min 2, max 2

Arguments

arg1

Any · Scalar

arg2

Any · Scalar

Caps

PURE

Source

On this page