Spreadsheets and formulas
SOF ICSO · Computer Science · about 6 minutes
A spreadsheet is a grid of cells named by column and row (B3). Formulas start with = and update automatically when the data changes.
Questions test SUM, AVERAGE, MAX, MIN, COUNT, IF and relative versus absolute references.
Relative and absolute
Copying a formula moves its references by the same amount, which is usually what you want. Put $ before the column or row to lock it, e.g. a tax rate in $F$1 used by every row.
Useful functions
COUNT counts numbers; COUNTA counts non-empty cells; IF chooses between two results; VLOOKUP finds a value in a table.
Worked examples
Example 1B1 = 5, B2 = 7, B3 = 3. What is =MAX(B1:B3)−MIN(B1:B3)?
- 7 − 3.
Answer: 4
Where marks are lost
- Forgetting the = sign.
- Writing the row before the column.
Exam tips
- =SUM(A1:A5) adds a range.
- $A$1 is absolute: it does not change when copied.
- =IF(B2>=40,"Pass","Fail").
Practice questions
=AVERAGE(4, 8, 12) gives…
A formula =A1+B1 in C1 is copied to C2. It becomes…
Which cell is in the third column and fifth row?
More worked examples
Try each one first, then open the working.
A1:A4 hold 21, 6, 33, 25. =AVERAGE(A1:A4)?
Show the working
Start: Apply the function to all four cells.
AVERAGE over the range.
Answer: 21.25
Cell E1 contains =B3*C4+D2. What value does it show?
Show the working
Start: Multiply before adding.
=B3*C4+D2 gives 8.
Answer: 8
A1:A4 hold 33, 5, 19, 14. =MAX(A1:A4)?
Show the working
Start: Apply the function to all four cells.
MAX over the range.
Answer: 33
Cell E1 contains =COUNTIF(B2:D5,">10"). What value does it show?
Show the working
Start: Count the cells with values above 10.
=COUNTIF(B2:D5,">10") gives 6.
Answer: 6
Practise more
New questions every time, at exam level
A1:A4 hold 28, 29, 15, 31. =AVERAGE(A1:A4)?
Learn it properly
Full chapters with animations, each with an “Explained simply” version.