The IFERROR function
Runs a formula and shows your chosen value, like 0 or "Not found", if it gives an error. Use it carefully, because it can also hide real mistakes.
Understanding The IFERROR function in ACARA Digital Technologies Years 9–10
What it does: The first argument is the formula that is tested and the second is the replacement value shown when an error happens. Empty quotation marks make IFERROR show nothing when B2/C2 gives an error, so the sheet looks tidy. Wrap the whole XLOOKUP inside IFERROR, then add the text to show as the second argument. Text must be in quotes. 10/2 works fine and gives 5, so IFERROR does not use the backup value of 0. IFERROR can hide real mistakes. If a formula is broken, fix the cause rather than covering it up with a 0 or a message. Fix the range or the data first. Only use IFERROR for errors you expect, like dividing by zero or a missing lookup match.
Common mistakes: IFERROR needs two arguments: the formula and the value to show if it fails. The value_if_error is missing. It should be =IFERROR(B2/C2,0). The closing bracket is missing, so the function is not finished. It should be D4: =IFERROR(B4/C4,0).
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 378–412) and word search (Modules 333–412).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
=IFERROR(value, value_if_error)Fill in the Blanks
Spot the Error
Student with a class code? Join your class →