Syntax
| Parameter | Description |
|---|---|
| value | Parameter of the IFNA function. |
| value_if_na | Parameter of the IFNA function. |
Examples
Handle VLOOKUP not found
=IFNA(VLOOKUP(A2, D:E, 2, FALSE), "No match")
Default value for missing lookups
=IFNA(MATCH(A2, B:B, 0), 0)
Chain lookups with IFNA
=IFNA(VLOOKUP(A2, Sheet1!A:B, 2, 0), VLOOKUP(A2, Sheet2!A:B, 2, 0))
Common Errors
The IFNA's own alternative formula is producing #N/A. Check both the primary and fallback expressions.
Tips
IFNA only catches #N/A. IFERROR catches everything. Use IFNA for lookups so real errors (like #REF! from deleted columns) are not hidden.
If you have XLOOKUP, its 4th argument does the same thing as wrapping with IFNA, making the formula cleaner.
Using IFNA instead of IFERROR means formula errors still surface, making it easier to find and fix broken references.
Try IFNA in Viztab
Import your data and use IFNA with 370+ other formulas. No signup required.
Open Viztab