Excel Function

IFERROR

Returns fallback value when formula errors.

IFERROR(value, value_if_error)

Arguments

value

Required

Enter an expression such as comparison or calculation.

value_if_error

Required

Specify the value returned when the formula results in an error.

Practice Preview

Use IFERROR to return "N/A" when VLOOKUP("Not found",B2:D8,3,FALSE) results in an error.

Example Table

#
ALearner ID
BName
CScore
DResult
2U001Tanaka82
3U002Sato67
4U003Suzuki91
5U004Takahashi55
6U005Ito78
7
8

How to Use (Formula)

=IFERROR(VLOOKUP("Not found",B2:D8,3,FALSE), "N/A")

Result

N/A

Practice This Function

IFERROR FAQ

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.

Where can I practice IFERROR?

Use the "Start Function Practice" button to jump straight into IFERROR drills.

What arguments does IFERROR use?

The main arguments are Value, Value if error. Enter them in order.