Free Excel templates · People and school

Leave tracker template

Track annual leave, sick days and other absence for a team: working days per request excluding weekends and holidays, days remaining, and who is off on any date.

Intermediate NETWORKDAYS SUMIFS COUNTIFS AGGREGATE INDEX ROWS ROW DATE IFERROR

Download the template

.xlsx, 21 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 Summary sheet

ABCDEFGH
1Leave summary
2Yellow cells are yours to change. Everything else calculates.
3
4Year2026Who is off on12 Aug 20263 off
5Change the year on the Settings sheet.David (Annual)
6Ana (Annual)
7Elena (Annual)
8NameAllowanceAnnual takenRemainingSickUnpaidOtherAnnual used
9Ana28161220057%
10Ben2518730072%
11Chloe24101400142%
12David33102320030%

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.
SummaryAllowance, annual leave taken and remaining, sick, unpaid and other days for each person, and a who-is-off box.
Leave logOne row per absence: name, type, from, to and the working days it uses.
SettingsThe year, each person's allowance and carried-over days, and the public holidays.

Working days skip weekends and public holidays Allowance plus carried-over days Remaining days in amber or red Who is off on any date, with the type of leave Name and type drop-downs Warning when the end date is before the start

How to use it

  1. On the Settings sheet, type the year in B4, each person's yearly allowance and any days carried over from last year.
  2. List the public holidays for the year in the holidays table. They are not counted as leave days.
  3. On the Leave log sheet, add one row per absence: name and type from the drop-downs, first day and last day.
  4. Working days fills in: the weekdays between the two dates that are not public holidays.
  5. The Summary shows each person's annual leave taken and remaining, and their sick, unpaid and other days.
  6. Type a date in G4 of the Summary to see who is off that day.

How it works

NETWORKDAYS counts the weekdays from the first to the last day of the absence, both included, and its third argument removes any dates in the holiday list:

Formula
=IF(OR([@From]="",[@To]=""),0,NETWORKDAYS([@From],[@To],tblHolidays[Date]))
Working days column of tblLeave.
E5fx=IF(OR([@From]="",[@To]=""),0,NETWORKDAYS([@From],[@To],tblHolidays[Date]))
ABCDE
4NameTypeFromToWorking days
5AnaAnnual1 Apr 202610 Apr 20266
6BenSick16 Feb 202618 Feb 20263

Ana's Easter trip from 1 to 10 April 2026 covers 8 weekdays, but Good Friday (3 April) and Easter Monday (6 April) are holidays, so it uses 6 days.

Result: 6

On the Summary, each kind of leave is a SUMIFS over the log: this person, this type, and a first day inside the chosen year (the name LeaveYear):

Formula
=IF($A9="","",SUMIFS(tblLeave[Working days],tblLeave[Name],$A9,tblLeave[Type],"Annual",tblLeave[From],">="&DATE(LeaveYear,1,1),tblLeave[From],"<="&DATE(LeaveYear,12,31)))
Summary!C9: annual leave taken.

Remaining is the allowance plus carried-over days minus annual leave taken. Ana has 25 + 3 = 28 days, has taken 16 and has 12 left.

The who-is-off box counts the absences that cover the chosen date with COUNTIFS (first day on or before it, last day on or after it). The names come from AGGREGATE with function 15 (SMALL) and option 6 (ignore errors): rows that do not cover the date are divided by zero, turn into errors and are skipped, so the k-th smallest of what is left is the k-th matching row:

Formula
=IFERROR(INDEX(tblLeave[Name],AGGREGATE(15,6,(ROW(tblLeave[Name])-ROW(tblLeave[#Headers]))/((tblLeave[From]<=$G$4)*(tblLeave[To]>=$G$4)),1))&" ("&INDEX(tblLeave[Type],AGGREGATE(15,6,(ROW(tblLeave[Name])-ROW(tblLeave[#Headers]))/((tblLeave[From]<=$G$4)*(tblLeave[To]>=$G$4)),1))&")","")
Summary!G5: first person off on the date in G4. G6 and G7 use 2 and 3.

On 12 August 2026, three people are off in the sample: David, Ana and Elena, all on annual leave. AGGREGATE does this without Ctrl+Shift+Enter and without the FILTER function, so it works in Excel 2010 and later (How to get the nth match in Excel).

Customise it

  • Half days: type 0.5 over the formula in the Working days cell of that row.
  • Other weekends, such as Friday and Saturday: replace NETWORKDAYS with NETWORKDAYS.INTL and a weekend code.
  • More leave types: add them to the Type drop-down and a column on the Summary with the same SUMIFS (Counting and summing with criteria: COUNTIFS, SUMIFS, SUMPRODUCT).
  • Show more than three names in the who-is-off box by copying G7 down and changing the last number to 4, 5 and so on.

Common questions

What about leave that crosses into next year?

Each absence counts in the year of its first day. For a long absence over New Year, split it into two rows at 31 December.

Why does a one-day absence show 0?

The day is a weekend or a public holiday on the Settings sheet, so no working day is used.

Can I count leave in hours?

Add an Hours column to the log (working days times daily hours, or typed) and sum it on the Summary in the same way.

More free templates