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 referenceHow To Use The IFERROR Function In Excel - The Easy Way!
Practice IFERROR
Display a diagnostic message if the denominator is zero.
| A | B | |
|---|---|---|
| 1 | ||
| 2 |
Show example formula
=IFERROR(12/0,B2) Lesson quiz
Answer three questions to see your level in this lesson.
