ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Projects
  3. Build an Employee Leave Tracker in Excel

Build an Employee Leave Tracker in Excel

By ExcelReady Team·Updated November 1, 2026·6 min read

The short answer

A leave tracker in Excel has a log with one row per request: employee, leave type, start date and end date. =NETWORKDAYS(Start,End,Holidays) counts the working days in each request. A summary table then uses SUMIFS to total each person's days by type, subtracts them from the yearly allowance, and COUNTIFS shows who is off on any date.

Key takeaways

  • Log each leave request once: employee, type, start, end and days.
  • =NETWORKDAYS(C2,D2,$H$2:$H$4) counts weekdays between two dates and skips the listed holidays.
  • =SUMIFS(E:E,A:A,"Ana",B:B,"Annual") totals one person's annual leave; subtract it from the allowance.
  • =COUNTIFS(C:C,"<="&date,D:D,">="&date) counts how many people are off on a date.
On this page+
  1. How the leave tracker is organised
  2. Step 1: Set up the leave log
  3. Step 2: List the holidays
  4. Step 3: Count working days with NETWORKDAYS
  5. Step 4: Total leave used with SUMIFS
  6. Step 5: Count requests and see who is off
  7. Step 6: Add warnings with conditional formatting
  8. Keep the tracker accurate
  9. Practise it

A leave tracker in Excel records every holiday and sick day your team takes and shows how much leave each person has left. One sheet logs the requests, NETWORKDAYS counts the working days in each one, and SUMIFS and COUNTIFS turn the log into a summary. This guide builds a tracker for a small team, the kind an office manager, team lead or HR assistant keeps.

How the leave tracker is organised#

The tracker has three parts, each in its own area or sheet:

  1. The log: one row per leave request. This is the only place you type leave.
  2. The holiday list: the public or company holidays for the year.
  3. The summary: one row per employee, with allowance, days used and days left. All formulas.

Keeping the log separate from the summary means you never edit totals by hand. You add a row to the log and the summary updates.

Step 1: Set up the leave log#

Put the log on a sheet called Log, with these columns:

ABCDE
1EmployeeTypeStartEndDays
2AnaAnnual30/03/202608/04/20266
3BenSick14/04/202615/04/20262
4AnaSick11/05/202611/05/20261
5ChloeAnnual18/05/202629/05/20269
6BenAnnual01/06/202605/06/20265
7AnaAnnual20/07/202624/07/20265

Use drop-down lists (Data > Data Validation > List) for Employee and Type, so names and types are always spelled the same. SUMIFS only matches exact text, apart from upper and lower case. Turn the log into a table with Ctrl+T (Mac: ⌘T) so the Days formula fills into each new row by itself.

Step 2: List the holidays#

Put the holidays for the year in a column on the same sheet, for example H2:H4: 3 April 2026, 6 April 2026 and 25 May 2026 in this example. Use your own country's or company's dates. Real dates, not text, are important: NETWORKDAYS compares numbers, and a holiday typed as text is ignored.

Step 3: Count working days with NETWORKDAYS#

NETWORKDAYS counts the weekdays (Monday to Friday) between two dates, including both the start and end dates. Its third argument is an optional list of holidays to skip. In E2:

Excel formula
=NETWORKDAYS(C2,D2,$H$2:$H$4)

Ana's request runs from Monday 30 March to Wednesday 8 April. That's 8 weekdays, minus the two holidays on 3 and 6 April, so the result is 6. The $ signs keep the holiday range fixed when the formula fills down.

Chloe's two weeks in May give 9 rather than 10, because 25 May is a holiday. The NETWORKDAYS function guide covers the arguments, and the workdays lesson practises NETWORKDAYS and WORKDAY together.

Two special cases:

  • Half days. Type 0.5 in the Days cell for that row instead of the formula, and note it.
  • Different weekends. If your team doesn't work Friday and Saturday, use NETWORKDAYS.INTL, which has a weekend argument: =NETWORKDAYS.INTL(C2,D2,7,$H$2:$H$4).

Step 4: Total leave used with SUMIFS#

SUMIFS adds numbers that meet several conditions at once. On a Summary sheet, list the employees in column A and their yearly allowance in column B. In C2, total annual leave used:

Excel formula
=SUMIFS(Log!$E:$E,Log!$A:$A,$A2,Log!$B:$B,"Annual")

The first range is what to add (Days). Then come pairs of range and condition: the Employee column must match A2, and the Type column must be "Annual". For Ana, that's 6 + 5 = 11 days. Her sick day isn't included, because its type is Sick.

ABCDE
1EmployeeAllowanceAnnual usedAnnual leftSick days
2Ana2511141
3Ben255202
4Chloe259160

Annual left in D2 is =B2-C2. Sick days in E2 is the same SUMIFS with "Sick" instead of "Annual". Fill all three formulas down with Ctrl+D (Mac: ⌘D).

Step 5: Count requests and see who is off#

COUNTIFS counts rows that meet several conditions. To count how many annual leave requests Ana made:

Excel formula
=COUNTIFS(Log!$A:$A,$A2,Log!$B:$B,"Annual")

The result is 2. The comparison of COUNTIF vs COUNTIFS explains when one condition isn't enough.

A more useful question for a manager is: how many people are off on a given day? Put a date in H8, then:

Excel formula
=COUNTIFS(Log!$C:$C,"<="&H8,Log!$D:$D,">="&H8)

This counts requests that started on or before the date and end on or after it. For 7 April 2026, the result is 1 (Ana). The & joins the operator to the date in the cell. The COUNTIFS function guide and the guide to COUNTIFS and SUMIFS with multiple conditions cover this pattern in detail.

Step 6: Add warnings with conditional formatting#

Color makes problems visible without anyone having to read every number.

  • Low balance: select D2:D4 on the summary and choose Home > Conditional Formatting > Highlight Cells Rules > Less Than, set to 3, so anyone close to running out stands out.
  • Over the allowance: add a second rule for values less than 0 with a red fill.
  • Too many people off: next to a calendar of dates, color any day where the COUNTIFS result is 2 or more.

Practise COUNTIFS and SUMIFS to get quick at writing the summary formulas these rules depend on.

Keep the tracker accurate#

A few habits keep the numbers right through the year:

  • Start a new log each leave year, or add a Year column and include it as one more SUMIFS condition.
  • Update the holiday list before the year begins.
  • Carry over unused days by adding them to next year's allowance column, not by editing the log.
  • Record approvals in an extra column if your team needs to show who approved each request.

The same log-plus-summary pattern runs many team sheets. Pair this tracker with a shift schedule in Excel to plan cover, or with an attendance tracker for daily check-ins. Leave totals also make a good line on a KPI summary.

Practise it#

Try the exercise on this page: count Ana's working days of leave with NETWORKDAYS and a holiday list. Then practise NETWORKDAYS and WORKDAY in a live spreadsheet, and practise COUNTIFS and SUMIFS to build the summary that shows who has leave left.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Ana's annual leave runs from C2 to D2, and the company holidays are in E2:E3. In F2, use NETWORKDAYS to count her working days of leave, skipping weekends and the holidays.

fx
ABCDEFG
1
Employee
Type
Start
End
Holidays
2
Ana
Annual
46111
46120
46115
3
Ben
Sick
46126
46127
46118
4
5
6

Tip: NETWORKDAYS takes the start date, the end date and then the range of holidays: NETWORKDAYS(C2,D2,E2:E3).

Practise this in a lesson

LessonCOUNTIFS and SUMIFSCount and sum with several conditions at once, and learn why SUMIFS puts the sum range first.LessonWorkdays: NETWORKDAYS and WORKDAYCount working days between two dates with NETWORKDAYS and find a deadline a number of working days away with WORKDAY, skipping weekends and a holiday list.Function guideCOUNTIFSCount rows that meet several conditions with COUNTIFS. Examples for text, number ranges and between-values, plus a live exercise.Function guideNETWORKDAYSCount the working days between two dates with Excel's NETWORKDAYS, excluding weekends and holidays. Examples, pitfalls and a live exercise.

Frequently asked questions

How do I track employee leave in Excel?

+

Keep a log with one row per request: employee, leave type, start date, end date and working days. Then build a summary per employee with SUMIFS to show leave taken and leave remaining.

How do I count leave days without weekends in Excel?

+

Use NETWORKDAYS: =NETWORKDAYS(C2,D2) counts Monday to Friday between the two dates, including both ends. Add a range of holiday dates as the third argument to skip public holidays too.

How do I calculate remaining leave in Excel?

+

Subtract the days used from the allowance: =B2-SUMIFS(Log!E:E,Log!A:A,A2,Log!B:B,"Annual"). The SUMIFS adds up every annual leave request for that person.

What if someone works a different weekend, like Friday and Saturday?

+

Use NETWORKDAYS.INTL, which has a weekend argument. For example, =NETWORKDAYS.INTL(C2,D2,7) treats Friday and Saturday as the weekend.

How do I record half days of leave?

+

Type 0.5 in the Days column instead of using the formula for that row, and add a note. SUMIFS adds 0.5 like any other number.

Sources

  • NETWORKDAYS function - Microsoft Support
  • SUMIFS function - Microsoft Support
  • COUNTIFS function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How the leave tracker is organised
  2. Step 1: Set up the leave log
  3. Step 2: List the holidays
  4. Step 3: Count working days with NETWORKDAYS
  5. Step 4: Total leave used with SUMIFS
  6. Step 5: Count requests and see who is off
  7. Step 6: Add warnings with conditional formatting
  8. Keep the tracker accurate
  9. Practise it

Keep reading

Projects· 6 min read

Build a Simple KPI Summary Sheet in Excel

A KPI summary sheet is a small block of formulas that reads a data table and shows the few numbers your manager asks about. Use SUMIFS for totals, COUNTIFS for counts, a ratio for rates and (new - old) / old for percent change. Put the month in one input cell so every KPI updates when you change it.

Projects· 6 min read

Make a Weekly Shift Schedule in Excel

A weekly shift schedule in Excel is a grid with one row per person and one column per day, filled with short shift codes such as E (early), L (late) and OFF. Type the week's start date once and build the other dates with +1. COUNTIF totals each person's shifts, and COUNTIFS checks that every day has enough people and a supervisor.

Comparisons· 7 min read

COUNTIF vs COUNTIFS: What's the Difference?

COUNTIF counts cells that meet one condition, such as tickets marked Open. COUNTIFS counts rows that meet several conditions at once, such as Open tickets with High priority, and every condition must be true. COUNTIFS with one pair works exactly like COUNTIF, so many people simply use COUNTIFS for everything.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free