Skip to the page
Year 7 · Spring 1 · Spreadsheets

Build a model: a class trip budget

What this lesson covers

Topic 18 Data, spreadsheets and AI

KS3 Computing · Data is raw facts. Information is data with meaning. Spreadsheets calculate, databases store and search, and AI learns patterns from examples.

Managing DataCambridge Lower Secondary Computing 0860

You will learn to

  • Explain what a spreadsheet model is and why it is useful.
  • Create a trip budget with each input in its own cell and formulas that use them.
  • Use the model to answer a what-if question, like 'What if 5 pupils drop out?'
  • Find the number of pupils or the price that makes the trip break even.

Success criteria

  • I can change the number of pupils and see the total update by itself.
  • I can point to the input cells and the formula cells in my model.
  • I can find the break-even point and explain what it means.

Key words

Say each word, then read what it means. Every one is in the glossary too.

Formula
A spreadsheet calculation. Always starts with =.
Function
A subroutine that returns a value.
Record / field
One row in a database table: everything stored about one thing.
Primary key
A field whose value is unique for every record.
SQL
Structured Query Language: asks databases questions.
Machine learning
The computer finds rules itself from labelled examples.

The explanation

Read it here, or open the study page below to go one step at a time with things to try.

What a model is

A model is a spreadsheet that copies a real situation with numbers and formulas.

You change one number. The spreadsheet works out the rest. This is called asking what if.

PartWhat it isTrip example
InputsNumbers you can changeNumber of pupils, coach cost, entry price
FormulasThe rules that link the numbersTotal = coach + entry × pupils
OutputsThe answers you wantTotal cost, cost per pupil
e.g.Example

Weather forecasts and game balancing both use models. They ask 'what if' before it happens for real.

Building the trip model

Put each input in its own cell. Then write formulas that point to those cells.

RowColumn A (label)Column B (value or formula)
1Number of pupils30
2Coach (whole trip)450
3Entry per pupil12
4Total cost=B2+B3*B1
5Cost per pupil=B4/B1
  1. B3*B1 = 12 × 30 = 360. That is the entry for everyone.
  2. B2 + 360 = 450 + 360 = 810. The total cost is £810.
  3. B4/B1 = 810 ÷ 30 = 27. Each pupil costs £27.
★Remember

Spreadsheets multiply before they add, just like in maths. =B2+B3*B1 works out B3*B1 first.

!Watch out

Never type a number that might change inside a formula. Give it its own cell and point to it. Then the model updates by itself.

Asking what if

Change the number in B1. Every formula updates at once. You do not redo any sums.

Pupils (B1)Total cost (B4)Cost per pupil (B5)
20450 + 240 = £690£34.50
25450 + 300 = £750£30.00
30450 + 360 = £810£27.00
40450 + 480 = £930£23.25
?Why?

Why does each pupil pay less when more go?

The coach costs £450 however many pupils go. More pupils share it, so each share is smaller.

Breaking even

Breaking even means the money coming in equals the money going out. There is no profit and no loss.

Add three rows to the model:

RowColumn A (label)Column B (value or formula)
6Price we charge each pupil25
7Money in=B6*B1
8Money in minus cost=B7-B4
  • B8 below 0: the trip loses money.
  • B8 equal to 0: the trip breaks even.
  • B8 above 0: there is money left over.

Change the price or the number of pupils until B8 reaches 0 or just above it.

e.g.Worked example

The school charges £25 per pupil. How many pupils must go so the trip does not lose money?

  1. Put 25 in B6. Try 30 pupils in B1: money in = £750, cost = £810. B8 = -£60, a loss.
  2. Try 34 pupils: money in = 25 × 34 = £850, cost = 450 + 12 × 34 = £858. B8 = -£8, still a loss.
  3. Try 35 pupils: money in = 25 × 35 = £875, cost = 450 + 12 × 35 = £870. B8 = £5.
  4. So at least 35 pupils must go. With 34 the trip loses £8.

Study it

Open the study page and go one step at a time.

Check yourself

One question at a time. The reason shows after each answer.

Saved on this device.