Arguments
value- The formula or expression to evaluate.value_if_error- What to return if value is any error (#N/A, #DIV/0!, etc.).
Returns a fallback value when a formula produces an error, otherwise the formula's result.
Syntax
=IFERROR(value, value_if_error)value - The formula or expression to evaluate.value_if_error - What to return if value is any error (#N/A, #DIV/0!, etc.).=IFERROR(VLOOKUP(A2, D:F, 3, FALSE), "Not found")Returns: The lookup, or "Not found" instead of #N/A
The tidy way to hide lookup misses.
=IFERROR(A2/B2, 0)Returns: A2/B2, or 0 when B2 is blank/zero
Avoids #DIV/0! in calculated columns.
Yes. IFERROR uses the same syntax in Google Sheets and LibreOffice Calc, so you can paste these formulas straight across.