Sorting, filtering and conditional formatting – Year 8 Computing lesson
Pupils learn to sort and filter a data set and set conditional formatting rules to pick out the rows that answer a question.
Lesson 3 of 6 in unit 8.5 Data and Spreadsheets, taught in Year 8, Summer 1. It answers one big question: How do we find what matters in a big table of data?
By the end, pupils can sort and filter a data set and set conditional formatting rules to pick out the rows that answer a question.
- The Build (the main task)
- Identify the wet days (over 5 mm of rain) when fewer than 20 bikes were in the shed, using sort, filter and conditional formatting, and write down the criteria you used.
- Support version
- Step cards with screenshots: the filter criteria and the conditional formatting rule are written out; pupils apply them in order and record what they find.
- Challenge
- Explain why sorting only the rainfall column would ruin the data, and add a second rule that colours the dry days with over 40 bikes.
- Real-world link
- The council wonders whether rain puts pupils off cycling; pupils search a term of daily weather data and bike-shed counts to find the wet days with few bikes.
- Key words
- Sort, Filter and Criteria, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “A filter deletes the rows that do not match”; “You can sort one column on its own and the rows stay matched”.
- National Curriculum
- NC7 (creative projects combining applications, including collecting and analysing data for known users).
Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.
Pupils need computers for the main task.
Also sold in the Data and Spreadsheets unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
What's included
- Slide deck (PowerPoint)
- Lesson plan (Word)
- Worksheet (Word)
- Support worksheet with scaffolds (Word)
- Weather and bike-hire data as a spreadsheet, CSV and print strips
- Weather and bike-hire data as a spreadsheet, CSV and print strips
- Single-teacher licence: use and adapt it with your own classes
More for KS3 Computing
See allPupils learn to design an online form with suitable fields, question types and validation rules to collect survey data for a known user.
Free sample lessonPupils learn to write formulas with cell references and use SUM, AVERAGE, MAX, MIN and COUNTIF to summarise survey data.
Pupils learn to choose a chart type that answers a question, create it with a title, axis labels and the right data series, and describe the trend it shows.
Written for the specifications named. Not endorsed by or affiliated with any exam board.