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

Cell References and Autofill

Learn to lock cell references so formulas fill correctly down a column, use the fill handle to copy locked formulas, and add a percentage of total column to see how each budget item contributes to the overall spend.

Teacher Class Feed

Load previous activity

    1 - Introduction ~5 mins

    Today you will

    • lock one cell so a formula can fill down without breaking
    • add a % of Total column to {{code:05_project_budget}}
    • see which cost takes the biggest share of your budget

    Warm-up

    Illustration for IntroductionCell {{cell:C7}} holds your total. You type {{formula:=C2/C7}} and drag it down one row. Does the {{cell:C7}} part stay on the total, or does it move to {{cell:C8}}?

    2 - Key Concepts ~6 mins

    A relative reference, like {{code:C2}}, moves down a row when you fill a formula down.

    An absolute reference, like {{code:$C$7}}, has dollar signs, so it stays locked.

    The fill handle is the small square at a cell's corner. You drag it to copy a formula.

    A fill-down break is when the total slides to an empty cell and shows {{code:#DIV/0!}}.

    Example

    Aoife's hoodie budget has its €320 total in {{cell:C7}}. The formula {{formula:=C2/$C$7}} divides every row by that total.

    3 - Step-by-step Task ~15 mins

    You will build Aoife's sample budget, watch a formula break, and then fix it with a locked total. Follow the steps in the box below.

    You will see {{code:#DIV/0!}} partway through, and that is expected. You will fix it when you lock the total.

    ItemCategoryCost (€)% of Total
    Hoodie blanksMaterials12037.5%
    Screen print kitMaterials8526.6%
    Instagram adsMarketing4012.5%
    PackagingMaterials257.8%
    Market stall feeEvents5015.6%
    Total320

    Type the first three columns. The last column shows the answers you should get.

    4 - Common Issues ~4 mins

    Common issues

    • The lower rows show {{code:#DIV/0!}}. The total slid off its cell. Add dollar signs to the total in the first formula and fill down again.
    • It still breaks after you add {{code:$}}. You need two dollar signs, like {{code:$C$7}}, one before the letter and one before the number.
    • You see 0.38 instead of 38%. Select the column and click {{btn:%}}.

    5 - Portfolio Build: Your Something Real Budget ~20 mins

    Independent Practice

    Your goal: Add a % of Total column to your Something Real budget.
    Time: ~20 minutes
    Task: Open {{code:05_project_budget}} from {{code:05_budget}}, inside {{code:Project_Portfolio}}. Then:
    1. Check that your Cost column has a Total with a SUM formula. Add one if it is missing.
    2. Click your total cell and write its address on a sticky note, for example C12.
    3. Type % of Total in the next free column.
    4. In the first item row, divide the cost by your total with dollar signs, for example {{formula:=C2/$C$12}}.
    5. Ask your teacher to check it, then fill it down and click {{btn:%}}.
    Success criteria:
    • My % of Total column sits beside my items.
    • Every row shows a percentage, and they add up to about 100%.
    • The percentages update when I change one cost.
    • No errors show in the column.
    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