Contact

IFNA Function (LibreOffice Calc)

Logical Beginner LibreOffice Calc

Learn the IFNA function in LibreOffice Calc: Returns value if not a #N/A error, else alternative.

Verification status: Selected examples were executed in LibreOffice Calc 25.2. Other examples may rely on documentation or independent calculations. How formula examples are checked

Availability and version history

  • Introduced: LibreOffice 4.0.
  • Availability: Supported in LibreOffice 26.8.1.1, verified against its function registry. This identifies a supported release, not a final working version.
  • Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
  • Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.

The IFNA function in LibreOffice Calc is used for this task: Returns value if not a #N/A error, else alternative. Handle an #N/A-style missing match without hiding unrelated errors.

This guide explains how to read the formula, reproduce a concrete example, interpret its result and recognize common input mistakes.

Syntax and arguments

IFNA(value; alternative_value)
Argument Required? Meaning
Value Yes The value to be calculated.
Alternative value Yes The alternative to be returned, should value be a #N/A error.

Calc formulas normally use semicolons (;) between arguments in common configurations; the displayed separator may depend on settings or locale.

Worked example

=IFNA(NA();"Not found")

Expected result: Not found.

Why it works: Handle an #N/A-style missing match without hiding unrelated errors.

How to use it in your own spreadsheet

  1. Identify the cells or inputs that correspond to the sample values above.
  2. Enter the formula in an empty cell, changing the references or literal values to match your sheet.
  3. Compare the output with a manual check on a small known example.
  4. Extend the formula to a larger dataset only after you understand the result.

Common problems and practical checks

  • Be explicit about the difference between TRUE/FALSE, zero, blank cells and text values.
  • Consider how errors are handled instead of automatically suppressing them.
  • A pasted formula may produce an error when it uses the other program’s argument separator or unsupported options.

Documentation and verification

  • LibreOffice Calc Help
  • The standalone example was calculated using LibreOffice Calc 25.2.3.2 on October 9, 2026 and its computed result matched the expected value. This does not certify every option, version, or other example.