Who this lesson is for, and why attendance comes first
This lesson is for data officers, heads of year, school and college leaders, administrators and anyone who has been asked to "send the attendance figures" for a meeting. Unlike a teacher's gradebook, an institution's reports look at the whole picture: year groups, courses, cohorts and groups of students. Attendance is usually the first number on that report, and for good reason. Students who miss many sessions tend to fall behind, and attendance is one of the earliest signals a college can act on.
The trouble is that an attendance rate looks simple and is easy to get wrong. Some students joined in January and had fewer possible sessions. Some year groups are bigger than others. A threshold that sounds clear, "below 90%", has a boundary case that changes the count. And a group rate calculated as the average of the students' rates gives a different answer from the rate of all sessions together. In a meeting, two people with two spreadsheets then argue about whose number is right.
This free first lesson follows the lab above. You work with 20 students of Northbridge College, a fictional college, identified only by pseudonymised IDs. All data are synthetic. You calculate each student's rate, flag persistent absence, report the share of students flagged and compare the two year groups correctly.
The core idea: a rate needs the right denominator
An attendance rate is sessions attended divided by sessions possible. A session can be a morning or afternoon register, a lesson or a lecture, depending on how your institution records attendance. What matters is that the denominator is the student's own possible sessions. S1013 joined in January and could only attend 120 sessions. Attending 104 of them is 86.7%. Dividing by the 180 sessions of a full year would report 57.8% and wrongly put a reasonably regular attender among the worst cases.
A persistent-absence flag turns the rate into a yes or no answer. Many school systems flag students who miss 10% or more of their possible sessions, so attendance of 90% or less. England calls this persistent absence, and many US states report chronic absenteeism, often defined as missing 10% or more of school days. Definitions differ between systems and change over time, so the threshold belongs in its own cell (C23 in the lab), never inside the formula.
The persistent-absence rate is then a rate of students, not of sessions: the number of flagged students divided by the number of students. It answers the question "how many of our students are affected?", which is different from "how many sessions did we lose?". Both are useful, and a good report shows both.
Finally, the group rate. For a year group, the correct attendance rate is total sessions attended divided by total sessions possible, calculated with SUMIFS ÷ SUMIFS. The tempting alternative, the plain average of the students' rates, gives a student with 120 possible sessions the same weight as one with 180. The difference is usually small, but it is a difference, and it grows when groups contain many part-year students.
Worked example: 20 students at Northbridge College
Here is the complete student table after the lab. Columns A to D are the register data, column E is the rate and column F the flag. Flagged students are shown in bold. The threshold in C23 is 90%.
| Student (A) | Year (B) | Possible (C) | Attended (D) | Rate (E)=D2/C2 | Flag (F)=IF(E2<$C$23,"PA","") |
|---|---|---|---|---|---|
| S1001 | Y1 | 180 | 171 | 95.0% | |
| S1002 | Y1 | 180 | 158 | 87.8% | PA |
| S1003 | Y1 | 150 | 147 | 98.0% | |
| S1004 | Y1 | 180 | 165 | 91.7% | |
| S1005 | Y1 | 180 | 132 | 73.3% | PA |
| S1006 | Y1 | 120 | 115 | 95.8% | |
| S1007 | Y1 | 180 | 176 | 97.8% | |
| S1008 | Y1 | 180 | 161 | 89.4% | PA |
| S1009 | Y1 | 150 | 141 | 94.0% | |
| S1010 | Y1 | 180 | 169 | 93.9% | |
| S1011 | Y2 | 180 | 174 | 96.7% | |
| S1012 | Y2 | 180 | 150 | 83.3% | PA |
| S1013 | Y2 | 120 | 104 | 86.7% | PA |
| S1014 | Y2 | 180 | 178 | 98.9% | |
| S1015 | Y2 | 180 | 166 | 92.2% | |
| S1016 | Y2 | 150 | 139 | 92.7% | |
| S1017 | Y2 | 180 | 85 | 47.2% | PA |
| S1018 | Y2 | 180 | 172 | 95.6% | |
| S1019 | Y2 | 120 | 118 | 98.3% | |
| S1020 | Y2 | 180 | 163 | 90.6% |
Six of the 20 students are below 90%, so the persistent-absence rate is 6 ÷ 20 = 30%. The flags are not all alike. S1017 attended only 85 of 180 sessions, 47.2%, which is far more serious than S1008 at 89.4%. Some systems add a second, stricter flag for exactly this reason, for example severe absence for students who miss 50% or more of their sessions. A single yes or no flag hides that difference, which is why a good report also shows the rates behind the flags.
Notice also S1013 and S1012. Both are flagged, but for different reasons. S1013 had a shorter year and missed 16 of 120 sessions. S1012 had a full year and missed 30 of 180. Without the per-student denominator, S1013 would look like one of the worst attenders in the college.
The first chart sorts the students by rate. The dashed line is the 90% threshold, and the six peach columns are the students flagged in column F. A sorted chart like this makes it obvious that most flagged students sit just below the line, where small changes decide the count, while one student needs a very different conversation.
Now the year-group summary, the table that usually goes to the leadership. Each year has 10 students and 3 flags, but the rates differ. The correct year rate pools all sessions:
| Measure | Formula | Y1 | Y2 |
|---|---|---|---|
| Sessions possible | =SUMIFS($C$2:$C$21,$B$2:$B$21,H2) | 1,680 | 1,650 |
| Sessions attended | =SUMIFS($D$2:$D$21,$B$2:$B$21,H2) | 1,535 | 1,449 |
| Attendance rate (I) | attended ÷ possible | 91.4% | 87.8% |
| Plain average of student rates (not recommended) | =AVERAGEIFS($E$2:$E$21,$B$2:$B$21,H2) | 91.7% | 88.2% |
| Students flagged PA | =COUNTIFS($B$2:$B$21,H2,$F$2:$F$21,"PA") | 3 of 10 | 3 of 10 |
| College PA rate (C24) | =COUNTIF(F2:F21,"PA")/COUNTA(A2:A21) | 6 of 20 = 30% | |
Y2's rate is 87.8%: 1,449 attended out of 1,650 possible. The plain average of the ten Y2 student rates would be 88.2%, slightly higher, because S1019 and S1013 had only 120 sessions each, yet each counts as a full tenth in the average. With 20 students the gap is less than half a percentage point. Across a whole college, with many students joining and leaving during the year, the two methods can disagree by enough to change a headline.
The second chart shows why pooling is the natural method. Each bar is the total of the year's possible sessions, split into attended and missed. The year rate is simply the blue share of the bar, exactly what SUMIFS ÷ SUMIFS calculates. Y2 lost 201 sessions against Y1's 145, almost half of them (95) by one student, S1017.
How to do it in Excel, step by step
- Put one student per row with ID, year group, possible sessions and attended sessions in columns A to D. Export from your management information system with IDs, not names, wherever you can.
- Type the threshold into its own cell: C23 = 90% (or 0.9). Label it in A23 so the definition is visible to every reader.
- In E2, enter
=D2/C2. Select E2:E21, press Ctrl+Shift+% and then Home > Number > Increase Decimal once, so the rates show one decimal place. - Copy E2 down: double-click the fill handle at the bottom-right corner of the cell. Check E14 by hand: 104 ÷ 120 = 86.7%.
- In F2, enter
=IF(E2<$C$23,"PA",""). Click on C23 inside the formula and press F4 to lock it, then copy the formula down to F21. - In C24, calculate the persistent-absence rate:
=COUNTIF(F2:F21,"PA")/COUNTA(A2:A21). Format it as a percentage. The result is 30%. - Type the year groups into H2 and H3 (Y1, Y2). In I2, enter
=SUMIFS($D$2:$D$21,$B$2:$B$21,H2)/SUMIFS($C$2:$C$21,$B$2:$B$21,H2)and copy it to I3. The ranges are locked with $, the criterion H2 is not, so it moves to H3. - Optional: count flags per year with
=COUNTIFS($B$2:$B$21,H2,$F$2:$F$21,"PA")and show the numerator and denominator next to every rate. - Optional: highlight low rates. Select E2:E21, choose Home > Conditional Formatting > Highlight Cells Rules > Less Than and type
=$C$23as the value. Change the threshold and the colours follow. - Optional: chart the sorted rates. Copy IDs and rates to a helper range, sort it with Data > Sort Smallest to Largest, then choose Insert > Charts > Clustered Column.
Reading the numbers like a data officer
A persistent-absence rate of 30% sounds alarming, and in a real college it would be. In this lab it is the result of a deliberately small, varied sample, so read it as a method, not as a benchmark. In real reporting, the more useful questions are how the rate compares with last term, with the same term last year and between year groups, and whether it is driven by many students just below the line or a few with very low attendance.
That is where the per-student rates, the flags and the year totals work together. The flags tell you who to talk to. The rates tell you how urgent each case is. The pooled year rates tell leadership where sessions are being lost. None of them on their own tells the full story, which is why the lab asks you to build all three.
Two definitional questions should be agreed before any figure leaves your desk. First, which absences count: most official measures count all absences, authorised (illness, medical appointments) and unauthorised. Second, the boundary: if the definition is "missing 10% or more", a student with exactly 90.0% attendance is persistently absent, and the test should be E2<=$C$23. The lab uses "below 90%", and none of the 20 students sits exactly on the line, but your real data will contain such cases.

Presenting the result to leadership
A leadership report should fit on one screen. A layout that works well has three parts. At the top, the headline: the college attendance rate (all attended sessions ÷ all possible sessions, here 2,984 ÷ 3,330 = 89.6%) and the persistent-absence rate (6 of 20 students, 30%), each with its numerator and denominator. In the middle, the year-group table with the pooled rates and the number of flags. At the bottom, a sorted chart like Chart 1, without names or IDs if the report leaves the data team.
Add one line of context to every number: the same term last year, the target or the national figure your system publishes for the same measure. A rate on its own invites the question "is that good?", and the meeting then spends its time guessing. If you do quote a published comparison, take it from the official source for the same definition and period, and say so in a footnote.
Finally, separate the two kinds of action the numbers suggest. Students just below the threshold usually need light-touch follow-up, a conversation or a check on a recurring reason such as transport or a timetable clash. Students far below it, like S1017, usually need a case-by-case plan with pastoral or support staff. Showing the distribution, not only the count, helps leadership put resources where they make the most difference.
Common mistakes and how to spot them
- Dividing by a fixed number of sessions.
=D2/180punishes students who joined late. Spot it when part-year students all appear near the bottom of the list. - Forgetting the $ in $C$23. Copied down, the reference slides to C24, C25 and beyond, and the flags become random. Check a flag in the middle of the list, not only the first row.
- Typing 0.9 into the formula.
=IF(E2<0.9,"PA","")works until the definition changes. Keep the threshold in one labelled cell. - Averaging the student rates for a group. AVERAGE or AVERAGEIFS of column E gives every student the same weight, whatever their possible sessions. Use SUMIFS ÷ SUMIFS.
- Counting with COUNT instead of COUNTA. COUNT only counts numbers, and student IDs like S1001 are text, so
=COUNT(A2:A21)returns 0 and the PA rate becomes a #DIV/0! error. - Comparing rates rounded to whole percent. 89.4% displayed as 89% and 90.6% displayed as 91% look fine, but 89.6% rounded to 90% looks as if it is on the line while the flag says PA. Show one decimal place.
- Publishing tiny groups. A year group or student group with three students lets readers identify individuals. Suppress or combine small groups before you share a report.
Quick reference: functions and shortcuts used
| Function or shortcut | What it does in this lesson |
|---|---|
=D2/C2 | Attendance rate of one student: attended ÷ that student's own possible sessions. |
IF(test, value_if_true, value_if_false) | Writes "PA" when the rate is below the threshold, otherwise an empty text "". |
COUNTIF(range, "PA") | Counts the flagged students. |
COUNTA(range) | Counts all students (non-empty ID cells), the denominator of the PA rate. |
SUMIFS(sum_range, criteria_range, criteria) | Totals the sessions of one year group. Used twice, for attended and possible. |
COUNTIFS(range1, crit1, range2, crit2) | Counts students who meet two conditions, for example Y2 and PA. |
AVERAGEIFS | Plain average of rates per group. Shown only to compare, the pooled SUMIFS ÷ SUMIFS is the correct group rate. |
| F4 | Adds $ signs to the reference under the cursor, e.g. $C$23. |
| Ctrl+Shift+% | Formats the selected cells as a percentage. |
| Home > Number > Increase Decimal | Shows 87.8% instead of 88%, so close cases stay visible. |
| Home > Conditional Formatting | Highlights rates below the threshold cell in colour. |
| Ctrl+T | Turns the range into an Excel Table, so formulas extend when new students are added. |
Real-world uses
- Weekly attendance meetings. Pastoral teams sort the flagged list by rate and decide who gets a call home, a meeting or a referral.
- Termly reports to governors or the board. Pooled attendance and PA rates per year group, each with numerator and denominator, compared with the same term last year.
- Checking official returns. Before a census or statistical return, data officers rebuild the published rates from the raw register to make sure the definitions match.
- Evaluating an intervention. If a mentoring scheme starts in January, compare the attendance of the students involved before and after, using the same pooled method.
- Feeding an early-warning score. Attendance is one of the three warning signs you combine into a risk score in lesson 7 of this course.
What you will build in the rest of this course
Lesson 1 is free. The next 19 lessons are part of the full course, a one-time purchase of $9.90. Each one is a hands-on lab with Northbridge College's synthetic data, checked by the Coach, and together they cover the numbers an education data team reports every term.
Grade Distributions and Success Rates by Course. You count the grades of four courses with one COUNTIFS grid, calculate each course's enrolments and success rate, and find the course that needs attention.
Weighted GPA: Credits × Grade Points. You convert letter grades into grade points with a lookup, weight them by credits with SUMPRODUCT, calculate each student's GPA and count the students on the Dean's list.
Cohort Progression, Retention and Completion. You follow five entry cohorts through a three-year programme: year-on-year retention, progression into Year 3, completion, and a correctly weighted retention rate across cohorts, the same pooling idea as this lesson, one level up.
Value Added: Actual vs Predicted Grades from Prior Attainment. You fit a straight line from entry scores to final scores, predict every student's final score and compare the average value added of three teaching groups, a fairer comparison than raw results.
Gaps Between Student Groups: Difference and Ratio. You compare students eligible for financial support with all other students: pass rates, average scores, the gap in percentage points and the rate ratio, and learn when each measure is the right one to quote.
An Early-Warning Score for Students at Risk. You combine three warning signs, including attendance, into one weighted risk score, sort students into High, Medium and Low bands, count the high-risk students and highlight their rows.
Mid-course project: A College Dashboard with a Ranked Chart. In lab 8 you build the leadership view for six departments: a correctly weighted college pass rate, each department against the target, the department that needs attention and a ranked bar chart.
Summary
An attendance rate is attended ÷ the student's own possible sessions. A persistent-absence flag compares that rate with a threshold kept in one locked cell. The persistent-absence rate is flagged students ÷ all students, and a group rate is total attended ÷ total possible, calculated with SUMIFS ÷ SUMIFS. For Northbridge's 20 students that gives 6 flags, a PA rate of 30%, and year rates of 91.4% and 87.8%.
Now scroll up and try it in the free lab: calculate the 20 rates, set the flags, work out the PA rate and the two year-group rates. The Coach checks each step and tells you exactly what went wrong if a number is off.
Frequently asked questions
How do you calculate attendance rate in Excel?
Divide sessions attended by the student's own sessions possible, for example =D2/C2, and format the cell as a percentage. Copy the formula down for every student.
What is persistent absence?
In England, a pupil is persistently absent when they miss 10% or more of their possible sessions. Many US states use a similar measure called chronic absenteeism, often defined as missing 10% or more of school days; check your own system's definition.
How do I flag students below 90% attendance in Excel?
Put the threshold in a cell such as C23 and use =IF(E2<$C$23,"PA",""). If your definition is "missing 10% or more", use <= so that exactly 90% is flagged too.
How do I calculate the persistent absence rate?
Count the flagged students and divide by all students: =COUNTIF(F2:F21,"PA")/COUNTA(A2:A21). It is a share of students, not of sessions.
Should I average student attendance rates to get a year-group rate?
No. Divide the total sessions attended by the total sessions possible with SUMIFS ÷ SUMIFS. A plain average gives part-year students the same weight as students with a full year.
Can I use real student data in a spreadsheet?
Only within your institution's data-protection rules, such as FERPA or the GDPR. Use pseudonymised IDs, approved storage and suppress small groups in anything you share.
Keep going: Education Analytics: Attendance, Grades, Pass Rates & Cohort Progress
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time €9.90.
- Grade Distributions and Success Rates by Course
- Weighted GPA: Credits × Grade Points
- Cohort Progression, Retention and Completion
- Value Added: Actual vs Predicted Grades from Prior Attainment
- Gaps Between Student Groups: Difference and Ratio
- An Early-Warning Score for Students at Risk
- Mid-course project: A College Dashboard with a Ranked Chart
- Weekly Attendance Trends and a Rolling 4-Week Rate
- Absence by Reason: Authorised, Unauthorised and Severe Absence
- Publishing Safely: Small-Group Suppression
- How Sure Are We? Margins of Error for Pass Rates
- Five-Year Trends: Change, Annual Slope and Steady Decline
- Termly Progress Against Target Grades
- The Admissions Funnel: Yield, Conversion and Offers Needed
- In-Year Withdrawals: When Do Students Leave?
- Student Survey Results: Agreement Shares and Net Scores
- Data-Quality Checks Before You Report
- Fair Comparisons: Mix-Adjusted Pass Rates for Two Campuses
- Final Project: A Termly Leadership Scorecard with RAG Status