Spread.Sheets Documentation
IFNA
Spread.Sheets Documentation > Formula Reference > Formula Functions > IFNA

This function calculates the specified value if the formula returns #N/A error, otherwise it returns the actual result of the formula.

Syntax

IFNA(value, value_if_na)

Arguments

This function has the following arguments:

Argument Description
value Refers to a number, or expression that needs to be tested
value_if_na Refers to an alternate number, or expression that is returned if value returns #N/A error

Remarks

If value or value_if_na is empty, IFNA treats it as an empty string value ("").

Data Types

Accepts numeric, string (or any expression) data for both arguments.

Examples

IFNA(VLOOKUP("Sweden",$A$6:$B$8,0),"Not found") gives the result Not found.

See Also