Logical

IFERROR

Supply a fallback when a calculation produces an error.

Syntax

=IFERROR(value, value_if_error)

Worked example

Display a diagnostic message if the denominator is zero.

=IFERROR(12/0,"Check units")

Result Check units

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor