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")
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Student | Score | Extra credit | Attempts | Result | |
| 2 | Ann | 92 | Yes | 2 | not found | |
| 3 | Bob | 74 | No | 0 | ||
| 4 | Cy | 58 | Yes | 3 | ||
| 5 | Dee | 81 | No | 1 | ||
| 6 | Eli | 66 | 2 |
Result in F2: not found