A 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.
A weather station records the rainfall every day. At the end of the week someone has to add up all seven numbers. A sheet can do it, but only if you tell it which cells.
Here is a week of rainfall from a school weather station, in millimetres. The total is in B9. It uses SUM, a function that adds up a range of cells.
A
B
1
Day
Rainfall (mm)
2
Monday
0
3
Tuesday
12
…
…
…
8
Sunday
3
9
Total
=SUM(B2:B8)
How this lesson works: Predict, Try, Investigate, Modify, Practise, Make
Predict: Read the problem and decide what you think before you try anything. A wrong guess is fine: it shows you what to look for.
Try: Try it on the board and compare the result with your prediction.
Investigate: Work out why it happens, one step at a time.
Modify: Change the problem on purpose and see what happens.
Practise: A few on your own, to check you have it.
Make: Make your own problem using what you have learned. Expect a few tries; that is normal.
Extra examplesYour teacher may tell you which.
Make your prediction first. Help opens once you've locked it in.
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 is the new total?
TryTry it on the board and compare the result with your prediction.
Try: change a reading
Was your guess right? You did not change the formula in B9. You changed one number in its range, and the total followed.
Try it yourselfYour edits are saved in this browser.
Type how many minutes you read each day (any numbers will do) in B2 to B8.
Another hint
In B9 write =SUM(B2:B8).
Type the minutes you read on each of the seven days. Write a formula in B9 that adds them up.
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 have SUM. You can type the range or drag across the cells with the mouse after the bracket. There is also an AutoSum button (a Greek capital sigma, Σ) that writes a SUM for the cells above or to the left of the selected cell. If your total looks too small, check the range has the first and last cells you meant.
Lesson done. You've finished every step you need.
Now you can
Write a SUM formula for a range of cells.
Say what the colon in B2:B8 means.
Explain why a SUM follows when a cell in its range changes.
Students learn that SUM adds up a range of cells, that a colon in a range means every cell from one end to the other, and that the total follows when any cell in the range changes. They total a week of weather-station rainfall, then two weeks, then a week of their own numbers, and repeat it in the spreadsheet app the school uses. About 45 minutes.
I can explain why a SUM follows when a cell in its range changes.
Before class
Do the Try board yourself: change B5 and click B9 to read the formula.
The one idea: SUM is a named formula that works on a range, and a range is a block of cells named by its two ends. Students do not need to know other functions yet.
The sheet on the page ignores words in a range (as Excel and Sheets do), so a heading in the range does no harm. A word typed where a number is expected (a typed 'five') is not added, which is a good thing to notice with students.
Real tools: Excel and Sheets have an AutoSum button (Σ) that guesses the range. Encourage students to check the range it picks, and to treat it as a first guess.
Running the lesson
Predict: students who chose 46 think SUM remembers the old total. Ask when the sheet does the adding.
Try: ask which cell they changed and which cell moved.
Worked example: say the range aloud (from B2 down to B8) and ask what a comma would mean.
Practise: ask what block B2:C8 holds, and why one SUM can cover two columns.
Own app: walk round. Common slips: forgetting the =, or a range that stops a row short.
The hard part (on purpose)
Telling a comma from a colon. =SUM(B2,B8) looks reasonable and shows a number, so nothing says it is wrong. Ask students to add up the cells by hand and compare.
When students get stuck
A student writes =SUM(B2,B8) (Sam's mistake) and gets a small total. Ask: Which cells did the formula add? Add them yourself. Fix: Use a colon: =SUM(B2:B8) adds every cell from B2 to B8.
A student's total is too small because the range stops at B7. Ask: Which day is in B8? Is it in your range? Fix: Extend the range to the last day.
A student types the total as a number. Ask: Change a day. Does the total follow? Fix: Replace the number with =SUM(B2:B8).
A student's total shows a formula as words. Ask: How does the sheet know it is a formula? Fix: Start with =.
Stretch and support
Stretch: Make a cell that shows what share of the week's rain fell on Saturday. Which formula do you need, and which parts of it would have to stay put if you copied it down?
Support: A card: =SUM(first cell:last cell). The colon means every cell from the first to the last.
Where it leads
Next in Working with data: Typical, smallest and biggest (AVERAGE, MIN and MAX).
Science and geography: rainfall, water use, mass and distance are all totalled this way. Use your own class data if you have it.
What each step is for
what is the new total?: Committing to what the total shows after one reading changes tests the move: SUM works its answer out again from the whole range.
Try: change a reading: Changing B5 and reading B9 settles the prediction: the total follows every cell in its range.
Worked example: write a SUM: Naming the range with a colon models the move. Sam lists two cells with a comma, the mistake planted after the method.
Vary: change the range: Each task changes the range: a shorter one, a different list of cells, then the same SUM copied to a new column.
total the weeks: Writing a SUM over a column, copying it to a second column, and then one SUM over a block of both.
your own week: Recording a week of your own numbers and totalling them has students use SUM on their own data.
In your own spreadsheet app: Adding up a column in Excel or Sheets shows the same function in the real tool.