IFERROR Function
Use a fallback when an expression returns an error. value is the expression to check and value_if_error the result to return when value is any error, such as #DIV/0! or #N/A. Otherwise, IFERROR returns value.
Syntax
IFERROR(value, value_if_error)
Category: Logical. Minimum arguments: 2. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=IFERROR(1/0,0)
The formula returns 0 instead of the #DIV/0! error of the division by zero.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.