GoalUse the SUM and AVERAGE functions with a range of cells.
New words
function · a formula that is built into the spreadsheet; it has a name and bracketsrange · a block of cells in a line, written with a colon, such as B2:B6argument · the cells that a function works on; it goes inside the bracketsmean · the average value; add all the values, then divide by how many there are
Explanation
A function is a formula that is already built into the spreadsheet. It has a name and brackets, and the cells that it works on go inside the brackets. The SUM function adds all the values in a range. A range is written with a colon, so B2:B6 means B2, B3, B4, B5 and B6. The formula =SUM(B2:B6) is shorter than =B2+B3+B4+B5+B6. The AVERAGE function finds the mean. It adds the values and then divides by how many values there are. A function does not need the symbols + or /.
B7fx=SUM(B2:B6)
A
B
1
Match
Goals
2
1
2
3
2
0
4
3
3
5
4
1
6
5
4
7
Total
10
Worked examples
B7fx=AVERAGE(B2:B6)
A
B
1
Day
Minutes read
2
Mon
20
3
Tue
30
4
Wed
25
5
Thu
15
6
Fri
35
7
Mean
25
The same sheet idea with the AVERAGE function. Reading minutes for five days are in B2:B6. The sum is 20 + 30 + 25 + 15 + 35 = 125, and 125 ÷ 5 = 25.
Range
Cells in it
How many
B2:B4
B2, B3, B4
3
C1:C3
C1, C2, C3
3
A5:A9
A5, A6, A7, A8, A9
5
A range names all the cells between two ends. Here are some examples.
Step
Work
1 Add the values
4 + 7 + 5 + 8 + 6 + 6 = 36
2 Count the values
6
3 Divide the sum by the count
36 ÷ 6 = 6
Finding the mean by hand has three steps. Six pupils scored 4, 7, 5, 8, 6 and 6.
Class activity
Mean with counters (pairs). Each player takes five paper cups and puts a different number of counters in each cup, from 1 to 8. Write the numbers down and add them to find the sum. Now share all the counters out so that every cup has the same number. How many are in each cup? That is the mean. Check with sum ÷ 5. If the counters do not share equally, say which two whole numbers the mean is between.
Practice
1
Write the function to add the laps in B2:B9, and the function to find their mean.
A
B
1
Week
Laps
2
1
3
3
2
5
4
3
4
5
4
6
6
5
2
7
6
7
8
7
5
9
8
4
=SUM(B2:B9) and =AVERAGE(B2:B9).
2
Find the total and the mean of the visitors. Write the formulas for B7 and B8.