logo
excelfunctions.org
bookmarks

IFNA

Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression.

LogicalError Handling & ChecksLogic & ConditionsMost Used

What it does

Returns a fallback value when a formula returns #N/A; otherwise returns the formula result.

Syntax

IFNA(value, value_if_na)

Arguments

  • value(value) β€” Expression to evaluate.
  • value_if_na(value) β€” Returned if value is #N/A.

Examples

Handle not-found

Return "Missing" if MATCH returns #N/A.

FORMULA
=IFNA(MATCH(A2,B2:B5,0),"Missing")
RESULT
Missing
SAMPLE DATA
AB
1Value to findList
2K9A1
3B2
4C3
5D4