IFERROR Function in Collabora Office Calc: Formula, Examples & Troubleshooting
Learn the IFERROR formula in Collabora Office Calc: replace a formula error with a chosen fallback, 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: IFERROR returns the ordinary result when its first expression succeeds, or a chosen fallback when that expression produces an error. A fallback should make a problem understandable rather than silently turn missing data into a real zero.
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 IFERROR 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
=IFERROR(value; alternate_value)
Both arguments are required by the documented syntax. The first supplies the expression or reference being checked; the second supplies the replacement for an error. This is broader than IFNA, which only handles #N/A.
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
=IFERROR(10/0;"Check divisor")
Expected result: Check divisor. Division by zero is an error, so the fallback text is returned.
Example 2: original comparison
=IFERROR(10/2;"Check divisor")
Expected result: 5. There is no error, so the calculated number 5 is returned.
Example 3: distinguish a valid zero from an error
Create this small numeric table in A1:B4, with headings Numerator and Divisor:
| Numerator | Divisor | Expected =IFERROR(A2/B2;"Review input") filled down |
|---|---|---|
| 20 | 4 | 5 |
| 0 | 5 | 0 |
| 15 | 0 | Review input |
The second row is a legitimate zero result, so the fallback is not used. The third row divides by zero, which triggers the fallback. Keep the raw input columns beside the report so those outcomes can be distinguished.
The wording Review input is broader than Check divisor because IFERROR can also catch other errors in a larger expression. A label should not assert a specific cause unless the formula actually tested that cause.
Example 4: ordinary text and empty text are preserved
=IFERROR("Ready";"Review input")
=IFERROR(0;"Review input")
=IFERROR("";"Review input")
Expected results: Ready, the number 0, and empty text. None of those first arguments is an error. IFERROR is not a test for missing, blank-looking or undesirable data in general.
A successful but wrong answer is also returned unchanged. If a formula refers to the wrong numeric column and returns 15, IFERROR does not know that 15 was not the intended result.
Advanced example: preserve error visibility while presenting a label
Put the raw ratio =A2/B2 in D2 and fill down for the three-row table. In E2 use:
=IFERROR(D2;"Review input")
Expected E2:E4: 5, 0, Review input. The raw D4 remains an error for inspection; the reporting column gives a readable status. This layout makes the recovery rule visible without erasing the evidence needed to diagnose it.
Do not hide or discard the raw calculation until its behavior has been reviewed. A polished report can otherwise conceal a broken reference as effectively as an expected missing value.
Advanced example: use a calculated fallback deliberately
=IFERROR(10/0;20/4)
=IFERROR(10/2;20/4)
Expected results: 5 and 5. The equal outputs come from different paths: the first uses the fallback calculation and the second keeps its successful primary result. One correct-looking displayed number cannot prove which route produced it.
If the fallback represents an estimate, label it as such in an adjacent status column and preserve the source. A fallback value should have a defensible meaning; an arbitrary zero can misrepresent an unavailable observation as an observed zero.
The alternate expression also needs to be valid. IFERROR is not a promise that any expression placed in either argument will become error-free, nor is it a substitute for input validation.
Compare with IFNA
=IFERROR(NA();"Unavailable")
=IFERROR(10/0;"Unavailable")
Expected result for both: Unavailable. The first argument produces #N/A in the first formula and a division error in the second. IFERROR treats both as errors eligible for replacement.
IFNA is narrower. It is often preferable when only a missing lookup result should be handled while other problems remain visible. Neither function proves that an unavailable result means a record does not exist; the source expression still needs investigation.
Errors, syntax and presentation limits
A malformed formula that cannot be entered and parsed is not the same thing as a parsed expression returning an error value. Check quotation marks, matching parentheses and the locale’s argument separator before relying on an error wrapper.
The Collabora reference establishes the broad error-versus-value rule, but this article does not claim an exhaustive native test matrix for every error type, array shape, external-data function or client. The examples use simple expressions and scalar cells.
Troubleshooting workflow
First test the unwrapped expression with a known good input. Then test an expected failure and confirm the chosen fallback. Finally test an ordinary zero and an empty text result, because they should not be mistaken for errors.
Keep the original inputs, raw calculation and presentation result separate when a hidden error would materially change the interpretation of a report. Add the wrapper after the computation is understood, not before debugging begins.
Cross-program references and verification
Related guides already published for this function: Microsoft Excel | Google Sheets | WPS Spreadsheet | LibreOffice Calc | Gnumeric
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.