FormulaCamp
Completed
← All functions
Logic

IFNA

Replaces only the #N/A error.

Syntax

IFNA(value, value_if_na)

Example: =IFNA(VLOOKUP(A2,PriceList,2,0),"none")

Available in: Excel 2013+

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =IFNA(MATCH("Zed",A2:A6,0),"not found")

Example spreadsheet for IFNA
ABCDEF
1StudentScoreExtra creditAttemptsResult
2Ann92Yes2not found
3Bob74No0
4Cy58Yes3
5Dee81No1
6Eli662
Result in F2: not found
Practice this in a lesson: SWITCH, XOR, IFNA, EXACT

More in Logic