← Teacher guide

Copy a formula

Students learn that copying a formula moves its cell names with it, so one formula can be copied or filled down a whole column and each row works on its own cells. They fill a growth column for five Year 7 beans, add a growth per day column, and repeat it in the spreadsheet app the school uses.

Working with data · Cells and formulas · about 45 minutes · Open the student lesson

Classroom resources

Open these in Waypoints Prepare with one click. To share a file another way, copy its address and paste it into Load URL, or download the file and import it. In Prepare, the worksheet's Teacher edition shows the answers; the student copy hides them.

Students will be able to

Timing

Predict and Try 8 min · Worked example 10 min · Vary 7 min · Practise 8 min · Make and own app 12 min

Before class

Do the Try board yourself: copy D2, paste it into D3 and click D3 to read its formula.

The one idea: a formula's cell names are places relative to the cell it is in ('one to the left'), so when it is copied they move with it. Spreadsheet people call this a relative reference; students only need the idea that a copy moves its names.

The sheet on the page has Copy, Paste and Fill down buttons, and Ctrl+C and Ctrl+V work on a selected cell. The real tools work the same way. In Excel and Sheets, Ctrl+D fills down a selection, and the small square at the corner of a selected cell can be dragged down (or double-clicked in Excel and Sheets to fill as far as the data goes).

The next lesson, A cell that stays put, shows what to do when a copy must not move one of the names.

Running the lesson

  1. Predict: students who chose =C2-B2 think a copy is exact. Ask what D3 would then show, and whose growth that is.
  2. Try: ask which row D3's formula uses, and whose bean that is.
  3. Worked example: say the rule aloud (the cell one to the left take away the cell two to the left) and ask where it points in row 5.
  4. Practise: ask who finds Fill down quickest and why it is less likely to slip than typing.
  5. Own app: walk round. The common slips are pasting into the wrong cell and dragging the fill handle too far.

In class

On the slides at these points. Students can do the whole lesson on their own; these are for the room. In the deck, the Run, Modify and Make slides have the live playground in them (the tutorial link is the backup), and the notes above are in each slide's speaker notes.

The hard part (on purpose)

Believing a copy is the same text. Students expect =C2-B2 to appear in D3, and the Predict shows the other answer. Have them click D3 and read the bar before you explain.

When students get stuck

What you will seeA question to askThe fix
A student types =C2-B2 into every row (Sam's mistake) and every growth is 8.Click D4 and read the formula. Which bean's row does it use?Copy D2 and paste it into D4, or select D2 and fill down. The names move for you.
A student copies the number 8 across instead of the formula.Click the pasted cell. Does the bar show a formula or a number?Copy the cell that holds the formula =C2-B2, not a typed number.
A student pastes the formula and the answer is wrong because the formula was pasted into the wrong column.Which two cells does it use now? Are they the Day 1 and Day 4 cells?Paste into the Growth column, so the formula has Day 4 one to the left and Day 1 two to the left.
A student fills too far down and gets a 0 or an error in an empty row.Which rows have a bean in them?Fill only as far as the last plant. The empty rows are not wrong, just not needed.

Answers to the checks

  1. what lands in D3?: D2 holds =C2-B2. You copy D2 and paste it into D3, one row down. What does D3 hold?
    =C3-B3. The paste moves one row down, so every row number in the formula goes up by one. D3 then works out 11 - 2 = 9, Bean B's own growth.
  2. Try: copy and paste: Copy D2 and paste it into D3. What does the Growth in D3 show?

    D3 shows 9. The pasted formula is =C3-B3, so it works on Bean B's row, not Bean A's.
  3. Where does the name go?: D2 holds =C2-B2. You paste it into D5. What does D5 hold?
    =C5-B5
    D5 is three rows below D2, so each row number goes up by three: =C5-B5.
  4. Find the mistake: Sam's growth column shows 8 for every bean, but Bean C only grew 6. Click the line where Sam first goes wrong.
    line 3
    Line 3: Sam typed =C2-B2 again for D3. Typing the same text keeps it on row 2. Copying D2 into D3 would have moved the names to row 3.
  5. One rule: The formula in D2 is =C2-B2. Which words describe what it does, whichever row it is in?
    Take the cell two to the left away from the cell one to the left
    Copying keeps the pattern: the cells one and two to the left, in the same row.
  6. Paste further down: E2 holds =B2*10. You copy E2 into E5. B5 holds 5. What does E5 show?
    50
    E5 holds =B5*10, which is 5 × 10 = 50.
  7. Paste across: D2 holds =B2+C2. You copy D2 and paste it one column to the right, into E2. What does E2 hold?
    =C2+D2
    One column right, so each column letter moves one along: B becomes C and C becomes D.
  8. The quick way: D2 holds a growth formula. What is the quickest way to get growth formulas into D3 to D6 that are all right?
    Select D2 and fill down
    Fill down copies the formula into the cells below it, moving the names row by row. Excel and Sheets call it fill down or the fill handle.
  9. Which cells change?: D2 to D6 each hold a growth formula made by filling down. You change Bean D's Day 1 height in B5. Which cells change?
    Only D5
    D5's formula uses B5 and C5. The other rows use their own cells, so only D5 changes.
  10. Fill the column: Use the formula in D2 to fill D3 to D6 with growth formulas for the other four beans.

    Each cell from D3 to D6 holds its own row's formula, such as =C5-B5 in D5. Filling down moved the names for you.
  11. your own sheet: Fill in your own heights for five beans. Write a growth formula in D2 and fill it down to D6. Then write a growth per day formula in E2 (growth ÷ 3) and fill it down to E6.

    Each growth cell uses its own row's heights, and each growth per day cell divides its own row's growth by 3. If you change a height, that row's two answers follow.

Solutions

One possible solution for each task. Other correct programs are fine.

your own sheet

Open task: any program that does what the step asks.

Stretch and support

Stretch: Write one formula in F2 that shows whether Bean A grew more than Bean B (is D2 minus D3 positive?). What happens to it if you paste it into F3?

Support: A card: A copied formula moves its cell names by as much as the copy moves. D2 to D3 is one row down, so every row number goes up by one.

Exit ticket

D2 holds =C2-B2. You paste it into D8. What does D8 hold?

=C8-B8. D8 is six rows below D2, so each row number goes up by six.

What each step is for

Where it leads

Next in Working with data: A cell that stays put (keeping one cell fixed while a formula is copied).

Years 6–8: the beans can be any measurements from a science investigation. Digital Technologies › Data representation covers how numbers are stored; this course is about using them.