Free Excel templates · People and school
Attendance tracker template
A monthly attendance register for a class or team: one letter per person per day, automatic weekends, colour-coded codes and an attendance rate for everyone.
.xlsx, 20 KB · no macros · works in Excel 2016 and later (Windows and Mac), Microsoft 365 and Excel for the web. Built and checked in Excel: 8 calculations verified.
Preview of the Attendance sheet
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Attendance register | |||||||
| 2 | Yellow cells are yours to change. Everything else calculates. | |||||||
| 3 | ||||||||
| 4 | Month | November 2026 | ||||||
| 5 | Working days | 21 | ||||||
| 6 | ||||||||
| 7 | S | M | T | W | T | F | S | |
| 8 | Name | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 9 | Ana | P | P | P | P | P | ||
| 10 | Ben | P | P | A | P | P | ||
| 11 | Chloe | P | P | P | P | P | ||
| 12 | David | P | P | P | L | P |
The sample data in the file. Replace it with your own.
What is inside
| Sheet | What it does |
|---|---|
| How to use | Steps and a link back to this page. |
| Attendance | Month and working days, the register with a column per day, totals per code and an attendance rate. |
How to use it
- Type any date in the month you are recording in
B4. Day letters, weekends and the number of working days follow it. - List the people in the Name column. To add someone, type a name in the first empty row under the table.
- Mark each day with a code from the drop-down: P present, L late, A absent, S sick, H holiday or leave.
- Leave weekends and days off empty. Grey columns are weekends; dark grey columns are days that do not exist in that month, such as 31 November.
- The columns on the right count each code, and Attendance gives the rate for each person. The total row adds up the class or team.
- For a new month, copy the sheet (right-click the tab > Move or Copy > Create a copy), change
B4and clear the codes.
How it works
Working days are the weekdays from the first to the last day of the month. DATE builds the 1st of the month from the date in B4, EOMONTH gives the last day, and NETWORKDAYS counts the Mondays to Fridays between them:
=NETWORKDAYS(DATE(YEAR(B4),MONTH(B4),1),EOMONTH(B4,0))Above each day column, a letter shows the day of the week. The day number in the table heading is text, so -- turns it into a number; days past the end of the month stay blank. WEEKDAY with type 2 numbers Monday as 1, and CHOOSE picks the letter:
=IF(--B$8>DAY(EOMONTH($B$4,0)),"",CHOOSE(WEEKDAY(DATE(YEAR($B$4),MONTH($B$4),B$8),2),"M","T","W","T","F","S","S"))The totals count each code in the person's row with COUNTIF. tblAttendance[@[1]:[31]] means the cells of columns 1 to 31 in the same row:
=COUNTIF(tblAttendance[@[1]:[31]],"P")The attendance rate counts present and late as attended, and divides by the days that should have been attended. Holidays and leave are left out of both sides, so a planned day off does not lower anyone's rate:
=IF([@Present]+[@Late]+[@Absent]+[@Sick]=0,"",([@Present]+[@Late])/([@Present]+[@Late]+[@Absent]+[@Sick]))| AG | AH | AI | AJ | AK | AL | |
|---|---|---|---|---|---|---|
| 8 | Present | Late | Absent | Sick | Leave | Attendance |
| 9 | 19 | 0 | 1 | 1 | 0 | 90% |
| 10 | 18 | 0 | 2 | 1 | 0 | 86% |
Ben: 18 present, 2 absent and 1 sick day, so 18 / 21 = 86%. Ana: 19 / 21 = 90%.
Result: 86%
In the sample month, the group recorded 7 absences and an average attendance of 92%. Grace has 3 days of leave and still has a 94% rate, because leave does not count against her.
The colours are conditional formatting rules on the whole grid, one per code, with the weekend and month-end rules first so they always win (Conditional formatting, including formula-based rules).
Customise it
- Use your own codes, for example R for remote: add the letter to the drop-down (Data > Data Validation), add a total column with the same COUNTIF, and decide whether it counts as attended in the rate.
- Count late as absent: remove [@Late] from the top part of the rate formula.
- Change the red threshold from 90% in Home > Conditional Formatting > Manage Rules.
- For a whole-year view, keep one sheet per month and add a summary sheet that adds up the totals.
Common questions
Why are some columns dark grey?
They are days 29 to 31 that do not exist in the chosen month. The table always has 31 day columns so the same sheet works for every month.
Does it know about public holidays?
The working days count ignores public holidays. Mark a holiday with H for everyone; it is then left out of the rate.
Can I use it for students and staff?
Yes. The codes are general. A school might use L for late arrival; a team might use H for annual leave.