Home / Critical Analysis of Data & Models / Spreadsheets
3.4b · Critical Analysis of Data & Models · Sub-skill
Using spreadsheet formulas correctly, and spotting the common errors that creep into real-world spreadsheet models.
Build it up, step by step
Click each step below to reveal it — work through them in order the first time round.
Spreadsheets calculate using formulas that reference cells, e.g. =A1+B1, or functions like =SUM(A1:A10) to add a range of cells, and =AVERAGE(A1:A10) to find a mean. You need to be able to read a formula and work out what value it will produce.
When a formula is copied to other cells, a relative reference (e.g. A1) automatically adjusts to match its new position, but an absolute reference (e.g. $A$1, using dollar signs) stays fixed on the same cell. Forgetting to fix a reference to, say, a tax rate cell means it ‘shifts’ incorrectly when the formula is copied down.
Typical mistakes include: copying a formula without adjusting/fixing references correctly, including or excluding the wrong range of cells in a SUM (e.g. missing the last row), circular references, and formatting errors that hide the true value being used (e.g. a cell displaying a rounded value but calculating with the unrounded one).
Before trusting a spreadsheet's output, check: does the total look plausible? Do a few cells manually to verify the formula logic. Check that ranges in SUM/AVERAGE functions include all the intended rows/columns and nothing extra. A single small error copied across a whole sheet can badly distort every result.
A spreadsheet has monthly sales figures in cells B2 to B13 (12 months). A student writes =SUM(B2:B12) in cell B15 to find the total for the year. Explain the error in this formula.
The range B2:B12 only covers 11 months (rows 2 to 12), missing the 12th month's figure in cell B13. The correct formula should be =SUM(B2:B13); as written, the total will be understated by whatever value is in B13.
Test yourself
A spreadsheet calculates commission for salespeople. Cell D2 contains the fixed commission rate (5%, stored as 0.05). The formula in cell C2 is =B2*D2 (where B2 is sales value), and this formula is copied down to cells C3 to C10 for other salespeople.
(a) Explain what will go wrong when the formula is copied down, and why.
(b) State how the formula in C2 should be written to avoid this error. [4 marks]
(a) Because D2 is a relative reference, when the formula =B2*D2 is copied down to C3, it will automatically change to =B3*D3 — but D3 is empty (the rate was only entered once, in D2), so the calculation will use 0 instead of 5%, giving £0 for every row except the first.
(b) The formula should use an absolute reference for the rate cell: =B2*$D$2, so that when copied down, it always refers back to D2, keeping the commission rate fixed at 5% for every row.
Practice
Five short questions on spreadsheets. Work through them, then reveal the mark scheme to check.