Intermediate
60 mins
Teacher/Student led
+80 XP
Pupils work on their own device

Checking Your Data: Finding and Fixing Errors

In this lesson you will learn to spot and correct common spreadsheet error codes. You will trace broken formulas, perform sanity checks on your budget data and ensure all numbers are reliable before final submission.

Teacher Class Feed

Load previous activity

    1 - Introduction ~5 mins

    Today you will

    • make red error codes and fix them
    • check that your budget totals make sense
    • log what you checked

    No budget file? Make {{code:05_project_budget}} in {{code:05_budget}} now. Put these headings in row 1 and five of your own costs in rows 2 to 6. Then put {{formula:=SUM(C2:C6)}} in {{cell:C7}}.

    Item | Category | Cost | Notes

    Warm-up

    Illustration for IntroductionA till says €400 for one coffee. What would you check first, the numbers typed in or the sum?

    2 - Key Concepts ~5 mins

    A red error code means the spreadsheet cannot finish a sum.

    • #DIV/0! means you divided by zero or an empty cell.
    • #VALUE! means there is a word where a number should be.
    • #REF! means the formula points at a cell you deleted.
    • #NAME? means a function name is spelled wrong.

    To fix one, click the red cell and read the formula bar. A sanity check asks whether the number makes sense for real costs.

    Example

    Typing {{formula:=SUMM(D2:D5)}} instead of {{formula:=SUM(D2:D5)}} gives #NAME?.

    3 - Step-by-step Task ~18 mins

    You will break some formulas and then fix them on a practice tab called {{code:Error_Lab}}. Follow the steps in the box below. You will need these headings and this stock list.

    ItemCost (€)QuantityLine total (€)Cost per unit (€)
    Coffee beans (1 kg)12.000
    Paper cups9.50three
    Napkins4.0010
    Oat milk3.206

    4 - Common Issues ~7 mins

    Common snags

    • #DIV/0! is still there: click it and check the formula bar for a cell that is blank or 0.
    • #NAME? is still there: clear the cell and type the formula again, starting with =.
    • The total looks far too big or too small: click it and check that the range only covers your costs.

    5 - Independent Practice ~15 mins

    Independent Practice

    Your goal: For your Key Assignment, clear every error from {{code:05_project_budget}} and log what you checked.
    Time: ~15 minutes
    Task:
    1. Open the main budget tab in {{code:05_project_budget}}, not {{code:Error_Lab}}.
    2. Click each formula cell and fix any red error codes.
    3. Change your biggest cost by €1 and check that the total changes. Then put the real figure back.
    4. Tell a partner roughly what your total should be.
    5. Two rows under your last row, type the log below: one row per fix, or one row saying none.

    Sanity-check log

    Date | Cell/range | Issue | Fix

    Success criteria:
    • My budget has no red error codes.
    • My total changed when I changed a cost, and it looks right.
    • My Sanity-check log is under my data.
    • The file is still {{code:05_project_budget}} in {{code:05_budget}}.
    123learn · Online learning platform

    Unlock the full learning experience

    You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.

    Hundreds of curriculum-aligned lessons
    Interactive activities in every lesson
    Printable resources & progress tracking
    Copyright Notice
    This lesson is copyright of Coding Ireland 2017 - 2025. Unauthorised use, copying or distribution is not allowed.
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more