GoalRead a spreadsheet problem and choose an operator formula or a function that solves it, and spot common mistakes.
New words
operator formula · a formula that uses cell references and + - * /function · a built-in formula, such as SUM or AVERAGErange · a line of cells, written with a colon, such as C2:C4check · to look again to see that a result is sensible
Explanation
To choose a formula, read the problem and ask what it needs. To take one value from another, use the - operator with two cell references. To add many values, use SUM. To find the mean, use AVERAGE. Then check three things. Does the formula start with =? Does the range cover every row? Is the answer sensible? A quick check is to work out the answer by hand for one row. If the hand answer and the spreadsheet answer differ, there is a mistake in the formula.
What the problem needs
What to use
take one value from another
the - operator with two cell references
add many values
the SUM function
find the mean
the AVERAGE function
Worked examples
D2fx=B2-C2
A
B
C
D
1
Runner
Goal (km)
Done (km)
Left (km)
2
Nadia
30
24
6
3
Liam
30
15
15
4
Sam
20
18
2
A running club wants the kilometres left for every runner. Left = goal − done. In D2 the formula is =B2-C2, and it shows 30 − 24 = 6.
C6fx=AVERAGE(C2:C4)
A
B
C
D
1
Runner
Goal (km)
Done (km)
Left (km)
2
Nadia
30
24
6
3
Liam
30
15
15
4
Sam
20
18
2
5
Total
57
6
Mean
19
The club also wants the total and the mean of the kilometres done. The total in C5 is =SUM(C2:C4), which shows 24 + 15 + 18 = 57. The mean in C6 is =AVERAGE(C2:C4), which shows 57 ÷ 3 = 19.
Formula
What is wrong
Fixed formula
=B2+C2 for ‘left’
it adds, but ‘left’ needs a subtraction
=B2-C2
SUM(C2:C4)
no equals sign
=SUM(C2:C4)
=SUM(C2:C3)
the range leaves out Sam’s row
=SUM(C2:C4)
=C2:C4
no function says what to do
=SUM(C2:C4)
=AVERAGE(C2:C4)/3
divides by 3 twice
=AVERAGE(C2:C4)
These formulas have mistakes. Can you see what is wrong with each?
Class activity
Formula doctor (pairs). Each partner writes six formulas on cards for a small table, for example the table of a running club. Some are right and some have mistakes: a missing equals sign, a range that is too short, the wrong operator. Swap cards. The doctor decides which cards are healthy and writes a fix for each sick card. Then the doctor checks one row by hand. Whose cards were hardest to cure?
Practice
1
A bus route has legs of 2, 3, 5, 4 and 6 km. Write the formulas for the total and the mean in B7 and B8.
A
B
1
Leg
Km
2
School to Park
2
3
Park to Library
3
4
Library to Market
5
5
Market to Station
4
6
Station to Depot
6
7
Total
?
8
Mean
?
B7: =SUM(B2:B6), which shows 20. B8: =AVERAGE(B2:B6), which shows 4.
2
Which of these formulas work? (a) =SUM(B2:B6), (b) =B2:B6, (c) AVERAGE(B2:B6), (d) =AVERAGE(B2:B6)
(a) and (d) work. (b) has no function. (c) has no equals sign.
3
How many pages are left to read? Write the formula for D2 and say what it shows.
A
B
C
D
1
Book
Pages
Read
Left
2
Sea Tales
180
75
?
=B2-C2 shows 180 − 75 = 105.
4
The list of legs grows to 40 rows. Why is =SUM(B2:B41) better than =B2+B3+B4+…?
The range needs only two ends, so it is short and easy to check. Typing 40 cells with + signs would be slow and likely to have mistakes.