Spreadsheet formulas with real football data, choosing the right chart to tell a story, and programming your micro:bit to loop and glow.
Lesson 5 — Data Modelling: Formulas
What you'll achieve: build a Premier League spreadsheet and calculate goal difference using a formula and autofill.
Excel
Formula
An instruction in a spreadsheet cell that starts with = and calculates a result.
SUM
A formula that adds up a group of numbers.
Average
The typical value in a group of numbers, found by adding them up and dividing by how many there are.
Autofill
Dragging the small fill handle to copy a formula down a column automatically.
I Do
Watch your teacher open a spreadsheet of Premier League clubs with columns for Club, Played, Won, Drawn, Lost, GoalsFor, GoalsAgainst and Points. See how =SUM totals the goals scored across every club, and how =AVERAGE works out the average points.
We Do
As a class, write a =MIN formula to find the fewest wins in the league.
Write a =MAX formula to find the most wins.
Discuss what each formula is actually doing to the numbers.
You Do
Open your own copy of the Premier League dataset.
Add a new column labelled "Goal Difference".
Write a formula that subtracts GoalsAgainst from GoalsFor for the first club.
Drag the fill handle down to autofill the formula for every club.
Use =MAX to find out which club has the best goal difference.
What you'll achieve: compare a bar chart and a pie chart made from the same data and pick the one that best supports a headline.
Excel
Bar chart
A chart that uses bars to compare separate amounts side by side.
Pie chart
A circular chart split into slices to show how a total is shared out.
Data journalism
Using real data to support or check a news story or headline.
I Do
Watch your teacher build the same football data as two different charts: a bar chart of points, and a pie chart showing each club's share of total wins.
We Do
As a class, build a "which chart type" decision guide together: use a bar chart to compare exact amounts, and a pie chart to show how parts make up a whole — but only when there aren't too many slices.
You Do
Read the headline you've been given, e.g. "This team scored nearly a third of all goals this season!"
Decide whether a bar chart or a pie chart best supports that claim.
Build that chart in Excel using the football data.
Add a clear title and label your axes or legend.
Write one sentence explaining why you chose that chart type.