Contact

NA Function (Gnumeric)

Information Beginner Gnumeric

Learn the NA function in Gnumeric: Not available. Returns the error value #N/A.

Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in Gnumeric. How formula examples are checked

Native-validation limits: Examples are documentation/source-based expectations, not observed Gnumeric execution or screenshots.

What NA does, and when to use it

NA() deliberately produces the spreadsheet error value #N/A. Use it to distinguish not available from a valid numerical zero, an empty cell, or a failed calculation. The Gnumeric manual explicitly names the result and documents no arguments [R1]. For example, a reporting sheet may not yet have a measurement for a particular day; recording =NA() makes that missing observation visible rather than silently inserting 0.

NA is not a text label, and #N/A is not a number. A formula that expects a normal numeric result can encounter that error. When a final report needs friendly wording, explicitly handle the error near the display layer with IFNA, rather than replacing the source value [R1, R2].

Official syntax, arguments, release and locale

=NA()
Position Argument Required? Meaning / default
— None No arguments exist Returns the #N/A error value. There is no default parameter.

The above call uses zero arguments. Do not supply a string, cell reference or alternate function name; the manual provides only NA() [R1]. Function names here use Gnumeric’s English documentation. The zero-argument syntax has no argument separator or decimal separator, so those common locale settings do not affect this particular formula. The displayed spelling of error labels may vary with translation; this guide cites the English manual’s #N/A [R1].

Scope checked: Gnumeric 1.12.62 in the 1.12 release series, with the 1.12.62 announcement and release marker checked on the access date below [R3, R4]. Catalogue registration does not itself establish which plugins are enabled in a particular installation; this guide makes no native runtime-testing claim [R2].

Reproducible examples: direct results

Enter the following into separate blank cells. All results are documented or logically expected, not captured Gnumeric results.

Formula Expected result What it shows / evidence
=NA() #N/A Direct zero-argument result [R1].
=ISNA(NA()) TRUE ISNA identifies the #N/A error [R1].
=ISERROR(NA()) TRUE ISERROR detects any error value [R1].
=ISERR(NA()) FALSE ISERR excludes #N/A from the errors it reports [R1].
=IFNA(NA(),"Not reported") Not reported A display-layer fallback for unavailable data, subject to native validation [R5].
=TYPE(NA()) 16 Gnumeric’s TYPE manual assigns code 16 to error values [R1].

Each expected Boolean or type code follows the named function’s official description; none of these examples was evaluated with Gnumeric in this research run. IFNA is separately documented under Gnumeric’s Logic category [R5].

Build a missing-observation worksheet

Enter these headings, values and formulas in a new sheet:

Cell Enter Interpretation
A1 Day Heading
B1 Units measured Heading
C1 Missing? Heading
D1 Report display Heading
A2 Monday Text label
B2 42 Recorded measurement
A3 Tuesday Text label
B3 =NA() Measurement not yet available
A4 Wednesday Text label
B4 51 Recorded measurement
C2 =ISNA(B2) Expected FALSE
C3 =ISNA(B3) Expected TRUE
C4 =ISNA(B4) Expected FALSE
D2 =IFNA(B2,"Pending") Expected 42
D3 =IFNA(B3,"Pending") Expected Pending
D4 =IFNA(B4,"Pending") Expected 51

Why preserve the original B3 error? Analysts can still distinguish the missing measurement from a real zero; the user-facing column D makes the report readable without losing that distinction. The test is reproducible and contains a deliberate missing value. Expected formulas are inferred from the referenced function definitions, not native observations [R1, R5].

Advanced pattern: distinguish missing data from a calculation failure

Gnumeric documents ISNA for specifically detecting #N/A, ISERR for other error values, and ISERROR for any error value [R1]. To avoid treating every error as an unavailable observation, classify a cell instead of masking all failures:

=IF(ISNA(B3),"Missing observation",IF(ISERR(B3),"Investigate error","Recorded"))

For B3 containing =NA(), the logically expected result is Missing observation. For a valid number the result is Recorded; for a different error such as division by zero the expected classification is Investigate error. This is a documentation-based composition, with Gnumeric execution still pending [R1, R5]. It is safer for auditing than automatically turning every error into the same placeholder.

Errors, limitations and troubleshooting

  • I see #N/A instead of a numeric result. That is the designed output of NA(), not an indication that NA malfunctioned [R1]. Check whether the value intentionally marks unavailable data.
  • I typed NA without parentheses. The documented worksheet call is =NA() [R1]. Use that exact signature; name-resolution behavior without parentheses was not tested.
  • A downstream calculation now shows an error. Identify which input is intentionally missing. Wrap only the presentation formula with IFNA or test with ISNA when a fallback is appropriate [R1, R5]. Do not replace missing numbers with zero unless your analysis genuinely calls for it.
  • ISERR(NA()) is false. That is expected because ISERR explicitly excludes #N/A; use ISERROR to catch it as well [R1].
  • What about =NA(1) or extra arguments? The manual documents none. Treat such calls as invalid/unsupported syntax; the precise error display is not native-tested in this batch [R1].
  • Can NA reveal why the data is missing? No. The function produces only an error value; use an adjacent status or notes column to distinguish late, refused, and not-applicable observations.

The official Gnumeric manual labels NA Microsoft Excel compatible [R1]. This establishes the documented counterpart, not a guarantee that locale translations, interoperability or every surrounding formula is identical. The example expectations on this page are based on Gnumeric documentation. Check imported/exported workbooks in the target application before depending on their error presentation.

Related guides: ISNA (specific missingness), IFNA (fallback), ISERROR (all errors), ISERR (errors other than #N/A), and TYPE (error-type classification).

The official Gnumeric 1.12.62 source archive was checksum-verified; the Information-function callback confirms the documented error classification without requiring inference from another spreadsheet.

Official sources and validation provenance

Validation: Official documentation and checksum-verified Gnumeric 1.12.62 source were inspected; displayed logical outcomes were independently reasoned. Native Gnumeric execution, screenshots, locale regression and workbook round-trip tests were not performed.