ZonoTools

Excel Practice - IFERROR

Instruction

Try VLOOKUP for code "P-999" in A2:C6; if it errors, return "Not found".

Formula Syntax

=IFERROR(value, value_if_error)

  • value: Input value or expression.
  • value_if_error: Fallback value returned when the main expression errors.

What it does

Return fallback output when a formula throws an error.

lookup-reference-table.xlsx

ABC
1CodeNamePrice
2P-101Mouse19
3P-102Keyboard45
4P-103Monitor199
5P-104USB Hub29
6P-105Headset59
7Output

Input Formula

Need Help?

Tips

  • Use IFERROR with clean and consistent ranges for predictable results.
  • Validate data types (number, text, date) before applying the formula.
  • Test the formula with a small sample first, then scale it to larger ranges.