Contact

IFNA Function in Collabora Office Calc: Formula, Examples & Troubleshooting

Logical Beginner Collabora Office Calc

Learn the IFNA formula in Collabora Office Calc: catch unavailable lookup results without hiding other errors, with reproducible examples, expected answers and compatibility cautions.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: IFNA replaces only a #N/A error with a chosen alternative. It preserves ordinary values and leaves other error classes outside that recovery rule, helping missing lookup results stay distinct from unrelated failures.

Availability and version history

  • Introduced: the original Collabora release and launch date are not established by the sources reviewed.
  • Availability: documented in the Collabora Office 26.04 IFNA reference; this is the desktop-help release scope.
  • Platform scope: online and mobile deployment behavior is not inferred from desktop documentation. Check the installed client and its formula settings.
  • Checked: October 14, 2026. Product-specific documentation and independent example calculations; no native Collabora execution was performed.

Syntax and arguments

=IFNA(value; alternate_value)

Both arguments are required. The first is a reference or expression to inspect, and the second is the replacement specifically for #N/A. A literal text string that happens to spell #N/A is not the same as an error value.

Examples use English function names and semicolon separators. Adjust argument separators for the target locale; quoted text and comparison operators retain their intended meaning.

Prepare the original example inputs

The first two formulas are self-contained. Enter them in blank cells, retaining the quoted fallback text. Later examples specify their own small datasets.

Example 1: original control

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

Expected result: Not found. NA() produces an #N/A value, which is replaced with the supplied label.

Example 2: original comparison

=IFNA(12/3;"Not found")

Expected result: 4. The number 4 is returned unchanged because there is no #N/A.

Example 3: verify the narrow error scope

=IFNA(NA();"Unavailable")
=IFNA(10/0;"Unavailable")
=IFNA("#N/A";"Unavailable")

Expected outcomes: Unavailable, the original division-by-zero error, and the literal text #N/A. Only the first expression produces the error class handled by IFNA. The third is a normal quoted string and is preserved.

The exact display of an error can depend on the client and locale; the important distinction is its underlying class. Do not broaden the function’s scope merely because several errors look like missing information in a report.

Example 4: ordinary zero and empty text stay unchanged

=IFNA(0;"Unavailable")
=IFNA("";"Unavailable")
=IFNA("Ready";"Unavailable")

Expected results: numeric 0, empty text, and Ready. IFNA does not decide whether zero or an empty-looking result is acceptable data. Those require separate validation rules.

An empty text result also leaves a formula in the cell. It should not be treated as a physical deletion or as proof that the source cell was genuinely empty.

Advanced example: protect an exact lookup without changing zero

Enter this fictional lookup table in A1:B4:

A: Item code B: Units
P01 8
P02 0
P03 12

Put P02 in D2 and use:

=IFNA(VLOOKUP(D2;$A$2:$B$4;2;FALSE());"Unavailable")

Expected result: 0. P02 is present and its units value is zero. Now change D2 to P99; the expected result becomes Unavailable because the exact lookup returns #N/A.

The explicit FALSE argument matters. VLOOKUP otherwise has a range-lookup default with sorting assumptions; a nearby match would not become an error for IFNA to catch. The Collabora 26.04 lookup reference documents the exact-match #N/A behavior used here.

The sample codes contain no wildcard or regular-expression metacharacters. For real keys that do, verify Calc’s search settings separately instead of assuming an error wrapper makes matching literal.

Advanced example: fill the lookup across requested codes

Put P01, P99, P02, P03 in D2:D5. Enter the same formula in E2 and fill down.

Expected E2:E5: 8, Unavailable, 0, 12. The absolute lookup-table references stay fixed while D2 advances. This result preserves a genuine zero instead of labeling it missing.

Keep the request code and source table visible. Unavailable means the lookup expression produced #N/A; it does not prove why. A spelling difference, an unexpected input type or a genuinely missing key can all require investigation.

A pre-existing #N/A can also trigger the fallback

IFNA examines the error returned by the whole first expression, not the business reason for it. If the requested key exists but the selected source value is itself #N/A, the fallback can still appear. Therefore “Not found” is not always an accurate label for a wrapped lookup.

Use a broad label such as Unavailable unless a separate existence test establishes the exact cause. Preserve the unwrapped lookup in a diagnostic column when source data can contain errors.

Compare with a broad error handler

For a division error, =IFERROR(10/0;"Review calculation") is expected to return Review calculation, while the IFNA version leaves the error visible. IFERROR is appropriate only when all errors from that expression should share the fallback.

For a nonerror input such as 12/3, both wrappers return 4. That common success case does not make the two recovery rules interchangeable. Test a #N/A case and another error class before choosing a handler.

Troubleshooting

Start with the unwrapped lookup and confirm its range, return-column index and exact-match choice. Then add IFNA and test a present positive value, a present zero, a missing key and an unrelated calculation error.

The guide’s examples are scalar, documentation-based expectations. Native array behavior, every imported type and all client-specific error displays remain untested. Keep the function’s narrow error-class rule distinct from the wider task of validating the input data.

Cross-program references and verification

Related guides already published for this function: Microsoft Excel | Google Sheets | LibreOffice Calc | PlanMaker 2026

These links are separate guides, not evidence that every version or platform handles all edge cases identically.

Evidence level: Full article reviewed against the function-specific Collabora help section. Original data and formulas were retained, with new outputs independently checked. No native execution or borrowed lifecycle claim is asserted.