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.

Beginner NETWORKDAYS EOMONTH DATE YEAR MONTH DAY WEEKDAY CHOOSE COUNTIF SUBTOTAL

Download the template

.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

ABCDEFGH
1Attendance register
2Yellow cells are yours to change. Everything else calculates.
3
4MonthNovember 2026
5Working days21
6
7SMTWTFS
8Name1234567
9AnaPPPPP
10BenPPAPP
11ChloePPPPP
12DavidPPPLP

The sample data in the file. Replace it with your own.

What is inside

SheetWhat it does
How to useSteps and a link back to this page.
AttendanceMonth and working days, the register with a column per day, totals per code and an attendance rate.

Codes P, L, A, S, H from a drop-down Each code in its own colour Weekends and non-existent days shaded Day letters follow the month Totals and attendance rate per person Rates below 90% in red

How to use it

  1. Type any date in the month you are recording in B4. Day letters, weekends and the number of working days follow it.
  2. List the people in the Name column. To add someone, type a name in the first empty row under the table.
  3. Mark each day with a code from the drop-down: P present, L late, A absent, S sick, H holiday or leave.
  4. 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.
  5. 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.
  6. For a new month, copy the sheet (right-click the tab > Move or Copy > Create a copy), change B4 and 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:

Formula
=NETWORKDAYS(DATE(YEAR(B4),MONTH(B4),1),EOMONTH(B4,0))
Attendance!B5: 21 working days in November 2026.

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:

Formula
=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"))
Attendance!B7, filled right to AF7.

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:

Formula
=COUNTIF(tblAttendance[@[1]:[31]],"P")
Present column. Late, Absent, Sick and Leave use L, A, S and H.

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:

Formula
=IF([@Present]+[@Late]+[@Absent]+[@Sick]=0,"",([@Present]+[@Late])/([@Present]+[@Late]+[@Absent]+[@Sick]))
Attendance column.
AL10fx=IF([@Present]+[@Late]+[@Absent]+[@Sick]=0,"",([@Present]+[@Late])/([@Present]+[@Late]+[@Absent]+[@Sick]))
AGAHAIAJAKAL
8PresentLateAbsentSickLeaveAttendance
919011090%
1018021086%

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.

More free templates