How do I use IFERROR in Excel?
Use IFERROR when you want to show a fallback when a formula returns an error. Enter Value, Value if error in that order, then add optional arguments when needed.
Returns fallback value when formula errors.
IFERROR(value, value_if_error)value
RequiredEnter an expression such as comparison or calculation.
value_if_error
RequiredSpecify the value returned when the formula results in an error.
Use IFERROR to return "N/A" when VLOOKUP("Not found",B2:D8,3,FALSE) results in an error.
| # | ALearner ID | BName | CScore | DResult |
|---|---|---|---|---|
| 2 | U001 | Tanaka | 82 | |
| 3 | U002 | Sato | 67 | |
| 4 | U003 | Suzuki | 91 | |
| 5 | U004 | Takahashi | 55 | |
| 6 | U005 | Ito | 78 | |
| 7 | ||||
| 8 |
How to Use (Formula)
=IFERROR(VLOOKUP("Not found",B2:D8,3,FALSE), "N/A")Result
N/A
Use IFERROR when you want to show a fallback when a formula returns an error. Enter Value, Value if error in that order, then add optional arguments when needed.
Use the "Start Function Practice" button to jump straight into IFERROR drills.
The main arguments are Value, Value if error. Enter them in order.