Syntax
| Parameter | Description |
|---|
Examples
Mark missing data
=IF(A1="", NA(), A1)
Placeholder in data
=NA()
Force chart gaps
=IF(B2=0, NA(), B2)
Common Errors
This IS the error value. That's the entire purpose of the function — to produce #N/A deliberately.
Tips
The main reason to use NA() is for charting. Line charts connect through blanks but skip #N/A, creating clean gaps where data is missing.
Use ISNA to detect NA values in formulas. =IFNA(A1, 0) replaces #N/A with 0 when you need a numeric fallback downstream.
Blank cells are ambiguous (forgotten? zero? not applicable?). NA() explicitly communicates "this data is intentionally missing."
Try NA in Viztab
Import your data and use NA with 370+ other formulas. No signup required.
Open Viztab