IFERROR
Returns value if no error, otherwise alternate.
- Excel: Verified match
- Google Sheets: Verified match
- Returns: Any value
Examples
=IFERROR(A1/B1, 0) | A | B | |
|---|---|---|
| 1 | 10 | 2 |
Result 5
Syntax
IFERROR(value, value_if_error) value- any required
value_if_error- any required
Errors
#ERROR!=IFERROR(1,2,3)