IFERROR

returns value if no error, otherwise alternate · from excel · excel: verified match · sheets: not yet compared

signature

IFERROR(value, value_if_error)

returns: any

argumentrequired
value required
value_if_error required

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

AB
1 102
fx =IFERROR(A1/B1, 0) 5

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#ERROR! =IFERROR(1,2,3)

related

  • AND returns TRUE if all arguments are true
  • EQ true when two values are equal
  • FALSE returns the logical value FALSE
  • GT true when the first number is greater
  • GTE true when the first number is greater or equal
  • IF returns one value if condition is true, another if false