[]
This function calculates the specified value if the formula returns #N/A error, otherwise it returns the actual result of the formula.
IFNA(value, value_if_na)
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 ifvaluereturns #N/A error |
If value or value_if_na is empty, IFNA treats it as an empty string value ("").
Accepts numeric, string (or any expression) data for both arguments.
IFNA(VLOOKUP("Sweden",$A$6:$B$8,0),"Not found")
gives the result Not found.