← Working with data

A cell that stays put

Copying a formula moves every cell name in it, which goes wrong when the formula needs one shared cell, such as g in a weight formula. A dollar sign fixes a name: $B$7 stays on B7 wherever the formula is copied. Putting a shared number in its own cell, then fixing it with $, means you change it once and every answer follows.

Weight is mass times g. A sheet works out four weights on Earth. A teacher says: now do the Moon, where g is a lot smaller. Must she change every formula?

Weight is a force: weight (N) = mass (kg) × g. On Earth, g is about 10 newtons for every kilogram. The sheet below keeps g in its own cell, B7, so it is written once. C2 works out the weight of the backpack from its mass in B2 and g in B7.

A B C
1 Object Mass (kg) Weight (N)
2 Backpack 5 =B2*B7
3 Bike 12
7 g (N per kg) 10
How this lesson works: Predict, Try, Investigate, Modify, Practise, Make
Extra examplesYour teacher may tell you which.
PredictRead the problem and decide what you think before you try anything. A wrong guess is fine: it shows you what to look for.

What lands in C3?

C2 holds =B2*B7, which is 5 × 10 = 50. You copy C2 and paste it into C3, one row down. B3 holds 12. What does C3 show?

TryTry it on the board and compare the result with your prediction.

Try: paste and look

The bike does not weigh nothing. The paste moved both names, but only the mass (B2 to B3) should have moved. The g cell should stay put.

Try it yourselfYour edits are saved in this browser.
Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

Click C2, then Copy. Click C3, then Paste.

Another hint

Click C3 and read the bar. Which cell does it multiply the mass by?

Copy C2 and paste it into C3. What does the Weight in C3 show?

Use the board. This ticks when you get there.

InvestigateWork out why it happens, one step at a time.

Worked example: fix the cell

Worked exampleBefore each step, say what you think comes next.
  1. C2: =B2*$B$7\texttt{C2: =B2*\$B\$7}B2 can move with the row, but \texttt{$B$7} is fixed: it stays on B7.

Now: what does the $ do?

What does the $ in $B$7 do?

Sam's weights show 0 for everything but the backpack. Click the line where Sam should have done something different.

Sam types =B2*10 in C2 and fills down, with g typed inside each formula. What goes wrong when Sam wants to try the Moon's g?

ModifyChange the problem on purpose and see what happens.

Vary: change what is fixed

C2 holds =B2*$B$7. B2 holds 5 and B7 holds 10. You change B7 to 1.6 (the Moon). What does C2 show?

C2 holds =B2*$B$7. You copy it into D3 (one column right, one row down). What does D3 hold?

You will fill the formula for the weight of the object in row 2 down to row 5, with g in B7. Which do you write in C2?

PractiseA few on your own, to check you have it.

Weigh the objects

Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

In C2 type =B2*$B$7, then use Fill down to fill C3 to C5.

Another hint

If a weight shows 0, click the cell and read the formula. Which cell does it use for g?

Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

Click B7 and type 1.6, then press Enter.

Try it yourselfYour edits are saved in this browser.
g is in B7 and a weight formula in C2 is filled down to C5. You want to change g. Which cell do you edit?

Write a weight formula in C2 that fixes g in B7, and fill it down to C5.

Use the board. This ticks when you get there.

The weights are filled in. Change g to 1.6, the Moon's, and read the new weights.

Use the board. This ticks when you get there.

MakeMake your own problem using what you have learned. Expect a few tries; that is normal.

Earth and Moon

Change the g for the Moon. Which column follows, and which does not?

Try it yourselfYour edits are saved in this browser.
Need a hint?

Before a hint: what kind of stuck is this? Try a strategy first

In C2 write =B2*$B$7 and fill down. In D2 write the same kind of formula that uses $B$8, then fill down.

Another hint

Type your own masses for the four objects in B2 to B5. Any numbers will do.

Type four masses. Write a weight formula for Earth in C2 (using g in B7) and one for the Moon in D2 (using g in B8). Fill each down to row 5.

Use the board. This ticks when you get there.

Make Extra · typicalMake your own problem using what you have learned. Expect a few tries; that is normal.

In your own spreadsheet app

Excel, Google Sheets and Numbers all use the dollar sign. You can type the $ yourself, or while the cursor is on a cell name in a formula, press F4 (Fn and F4 on some laptops) to put the $ signs in. Press it again to cycle through the ways of fixing the name. If a weight shows 0, click it and check the cell for g did not move.

Now you can
Next lesson4. Add up a columnA function is a ready-made formula with a name. SUM adds up the numbers in a range of cells, and a range such as B2:B8 means every cell from B2 down to B8. The colon says 'all the cells from here to there'; a comma only lists the cells you name. SUM works its answer out again when any cell in the range changes.
For teachers

Students find that copying a formula moves every cell name, including one that should stay put, and fix a shared cell with $. They work out weights from mass and g on a Year 7 science sheet, change g once to move from Earth to the Moon, and repeat it in the spreadsheet app the school uses. About 45 minutes.

Open the teacher guide: answers, solutions, slides and a worksheet.

Students will be able to

Before class

Do the Try board yourself: paste C2 into C3 and read the formula in the bar.

The one idea: a copy moves every name, so a name that has to stay (a shared value such as g, a rate, a price) gets a $ in front of its column letter and row number. Spreadsheet people call this an absolute reference; students need the idea 'fix it with $'.

Science link: weight (N) = mass (kg) × g, with g about 10 N/kg on Earth (a round value used in school science) and about 1.6 N/kg on the Moon. Use your class's values if they differ.

The page's sheet has no formula that needs $ typed for you: students type the $ themselves. In Excel and Sheets, F4 on a selected name toggles the $ signs; the sheet on the page just uses typing.

Running the lesson

  1. Predict: students who chose 120 expect the paste to move only the mass. Ask which cell the bike's weight would use for g.
  2. Try: ask what B8 holds and why the answer is 0, not an error.
  3. Worked example: ask which part of =B2*$B$7 moves when pasted down and which part stays.
  4. Practise: students who forget the $ get 0 below the first row. Ask them to click C3 and say which cell it used for g.
  5. Own app: walk round. Common slips: $ only on one half of the name, or g typed inside the formula.

The hard part (on purpose)

Seeing why a copy goes wrong. Students think the formula is broken, not that every name moved. Have them click the 0 cell and read which cell it used for g.

When students get stuck

Stretch and support

Stretch: Add a third column for Mars, where g is about 3.7 N per kg. What do you change, and what stays the same?

Support: A card: Copying moves every name. Put $ in front of the letter and the number of the cell that must stay: $B$7.

Where it leads

Next in Working with data: Add up a column (SUM and ranges).

Science: Year 7 and 8 forces and weight use the same formula. Mass and weight are different things (kg and N), so the sheet keeps them in separate columns.

What each step is for