Tracking data drops: practice exercises
Change since the last drop, the latest grade in a row with XLOOKUP, flags for anyone 2 grades down, % on or above target by class, grades like 5+. 5 exercises on real-looking data, each marked the moment you press Check. The first exercise is below to try now; the full lesson is part of Pro.
Columns C and D are each pupil's working-at grade in the Autumn and Spring data drops. In E2, work out the change since the last drop, so that a pupil who went up shows a positive number and one who went down shows a negative one.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Pupil | Target | Autumn | Spring | Change |
| 2 | Imani Begum | 5 | 3 | 4 | |
| 3 | Isla Nowak | 9 | 9 | 9 | |
| 4 | Rosa Wright | 2 | 3 | 2 | |
| 5 | Mohammed Edwards | 7 | 6 | 4 | |
| 6 | Mia Wilson | 8 | 8 | 8 | |
| 7 | Finley Green | 2 | 2 | 4 | |
| 8 | Sofia Jones | 6 | 6 | 7 | |
| 9 | Oliver Mensah | 2 | 1 | 1 | |
| 10 | Arjun Begum | 9 | 7 | 8 | |
| 11 | Oscar Smith | 3 | 1 | 1 | |
| 12 | Amira Shah | 6 | 4 | 4 | |
| 13 | Hana Shah | 5 | 4 | 3 | |
| 14 | Leah Clarke | 6 | 5 | 4 | |
| 15 | Priya Price | 4 | 2 | 4 | |
| 16 | Daniel Price | 5 | 4 | 5 | |
| 17 | Ellie Ali | 8 | 8 | 8 | |
| 18 | Poppy Smith | 9 | 8 | 8 | |
| 19 | Tyrese Patel | 6 | 7 | 7 | |
| 20 | Sami Edwards | 7 | 5 | 7 | |
| 21 | Kacper Baker | 8 | 8 | 6 |
How it works
Most schools collect a working-at grade for every pupil a few times a year: a data drop. Each drop gets a column, so a pupil's row shows how they've moved. Heads of department look for who has dropped, and the % of each class on or above target.
Some pupils miss a drop, or join part way through the year, so their row has gaps. XLOOKUP can search a row from the end, so =XLOOKUP(TRUE,B2:E2<>"",B2:E2,,0,-1) finds the last grade that isn't blank. How far down counts as a concern is your school's call, so it sits in a cell.
=E2-D2 =XLOOKUP(TRUE,C2:F2<>"",C2:F2,,0,-1) =IF(C2-D2>=$H$1,"Check","") =COUNTIFS($B$2:$B$30,G2,$F$2:$F$30,">=0")/COUNTIF($B$2:$B$30,G2) =VALUE(LEFT(D2,1))
One column for each drop
A data drop is a grade for every pupil, collected a few times a year. Each drop gets its own column, so the change since the last drop is the newer column take away the older one: a pupil who went from 5 to 6 shows 1, and one who went from 6 to 4 shows −2.
To flag anyone who has gone down a lot, turn it round: older take away newer is how far they fell. Put the number that counts as a concern in a cell, say H1, and compare with that: =IF(C2-D2>=$H$1,"Check",""). Your school decides the number, and it can change it without touching the formula.
Worked example
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Pupil | Target | Autumn | Spring | Summer | Latest | Flag |
| 2 | Amira Khan | 6 | 5 | 6 | |||
| 3 | Jayden Clarke | 5 | 4 | 5 | |||
| 4 | Zainab Ali | 7 | 7 | 5 |
=XLOOKUP(TRUE,C2:E2<>"",C2:E2,,0,-1)in F2. Amira has no Summer grade yet, so her latest is Spring: 6. Jayden missed Autumn but has a Summer grade, so his latest is 5.=IF(C4-D4>=2,"Check","")in G4. Zainab went from 7 to 5, down 2 grades, so she gets a Check.
The latest grade in a row
With gaps in the row, the last column might be blank, and MAX gives the best grade, not the latest. C2:E2<>"" gives TRUE or FALSE for each cell. XLOOKUP looks for TRUE in that list and brings back the grade in the same place, and -1 as its last argument makes it search from the end. So =XLOOKUP(TRUE,C2:E2<>"",C2:E2,,0,-1) is the last grade that's there.
XLOOKUP needs Excel 2021 or Microsoft 365, on a Mac or Windows. In older versions, =LOOKUP(2,1/(C2:E2<>""),C2:E2) does the same job. To get the name of the drop instead of the grade, bring back the heading row: $C$1:$E$1.
On target, and grades like 5+
A pupil's residual is their grade take away their target, so 0 is on target. The % of a class on or above target counts the class's residuals of 0 or more, then divides by the number in the class: =COUNTIFS(class,G2,residual,">=0")/COUNTIF(class,G2).
Some schools record fine grades such as 5+ or 6−. LEFT(D2,1) takes the first character, but it gives text: it sits on the left of the cell, and a 5 that's text won't compare properly with a target of 5. VALUE(LEFT(D2,1)) turns it into a number.
What you'll practise
- Columns C and D are each pupil's working-at grade in the Autumn and Spring data drops. In E2, work out the change since the last drop, so that a pupil who went up shows a positive number and one who went down shows a negative one.
- Not every pupil has a grade in every drop: some joined late, some were absent, and the Summer drop isn't finished. In F2, show each pupil's most recent grade: the last one in the row that isn't blank.
- The head of department wants a Check next to any pupil whose Spring grade is down by the number in H1 or more since Autumn. In D2, show Check for them and leave the cell blank for everyone else. Pupils who went up don't need a Check.
- Column E is each pupil's residual: their latest grade take away their target, so 0 means on target. In H2, work out the percentage of the class in G2 who are on or above target. Your formula will be copied down to H4, and column H is formatted as a percentage.
- The department records fine grades such as 5+ and 6-. Column D should hold just the whole grade, as a number, so it can be compared with the target. The formula in D2 gives text that only looks like a number: the grades sit on the left of the cell. Fix it.