Every HR office gets the same question at the same time: “How many leave days do I have left?” If the answer means paging through leave forms, or trusting a balance someone typed in months ago, mistakes creep in. Staff go into negative leave, others build up balances the business cannot afford, and nobody notices until someone resigns. This guide shows you how to track leave balances in Excel with a leave register and a few formulas. Each balance updates itself whenever you record new leave.

How a leave balance works

Leave balance = Opening balance + Days accrued this year − Days taken this year
Opening balance is what was carried forward from the previous leave year. Days accrued builds up month by month as the employee works. Days taken comes from approved leave applications.
Use your own accrual rate. We use 2.5 days per month in the examples because it is easy to follow. The correct rate for your organisation depends on your leave policy, employment contracts, collective agreement and the law that applies to you.

Set up two sheets

Keep your records on two sheets: a Register where every approved leave application goes in as one row, and a Balances sheet that does the calculation. Never type a balance by hand. Let the formulas work it out from the register.
A B C D
1 Employee Date Days Type
2 Rudo Chikwanha 10/03/2026 5 Annual
3 Kudzai Mutasa 18/08/2026 9 Annual
4 Rudo Chikwanha 21/07/2026 10 Annual
5 Tatenda Gumbo 02/09/2026 2 Sick
6 Chipo Marufu 05/05/2026 20 Annual
Balances Register
Figure 1: The first rows of the Register sheet. Record working days taken, and the leave type.
On the Balances sheet, put your settings in a corner where they are easy to change: the accrual rate in J1, the first day of the leave year in J2, the date you are calculating to in J3, and the maximum balance your policy allows in J4.

Step-by-step formulas

Step 1: Count the months worked this leave year

New employees should only accrue leave from the day they joined. In D2 type:
=DATEDIF(MAX(B2,$J$2),$J$3+1,"m")
MAX(B2,$J$2) picks the later of the start date and the start of the leave year, so long-serving staff count from 1 January and new staff count from their first day. DATEDIF then counts complete months up to the calculation date. Adding 1 to J3 makes a month that ends on the 30th or 31st count as complete. DATEDIF does not appear in Excel’s function list, but it works in every version. If an employee’s start date is after the calculation date, wrap the formula in IFERROR(…,0).

Step 2: Work out days accrued

In E2: =D2*$J$1. The dollar signs lock the reference to the rate cell, so you can copy the formula down.

Step 3: Add up leave taken from the register

In F2, add up only annual leave taken by this employee within the leave year:
=SUMIFS(Register!C:C,Register!A:A,A2,Register!B:B,">="&$J$2,Register!B:B,"<="&$J$3,Register!D:D,"Annual")
Sick leave, maternity leave and other types are recorded in the same register but are not deducted from annual leave, because of the last condition.

Step 4: Calculate the balance and flag problems

In G2: =C2+E2-F2. In H2, flag anything that needs attention:
=IF(G2<0,"Negative",IF(G2>$J$4,"Above limit","OK"))
Add conditional formatting (Home tab, then Conditional Formatting) so negative balances turn red and balances above the limit turn amber. Copy row 2 down for every employee.

The finished leave balance sheet

G4fx=C4+E4-F4
A B C D E F G H
1 Employee Start date Opening balance Months this year Accrued Taken Balance Flag
2 Rudo Chikwanha 03/02/2019 12 9 22.5 15 19.5 OK
3 Nyasha Dube 01/04/2026 0 6 15 3 12 OK
4 Kudzai Mutasa 01/07/2026 0 3 7.5 9 -1.5 Negative
5 Tatenda Gumbo 15/06/2021 18 9 22.5 5 35.5 Above limit
6 Chipo Marufu 10/01/2023 6 9 22.5 20 8.5 OK
Balances Register
Figure 2: Leave balances calculated to 30 September with an accrual rate of 2.5 days a month and a limit of 30 days.
Two lines need action. Kudzai Mutasa joined in July, has accrued 7.5 days but has taken 9, so the balance is −1.5. Tatenda Gumbo has 35.5 days, above the 30-day limit, which is a cost to the business and often a sign that someone is not taking a proper break. Notice that Tatenda’s two days of sick leave in the register were not deducted. The SUMIFS only counts rows marked Annual.

Going further: leave liability

Unused leave has a money value. To estimate it, add a column for each employee’s daily rate (worked out the way your policy or payroll defines it) and multiply it by the balance. The total is your leave liability, a figure finance teams often ask for at year end.

Common mistakes to avoid

    • Counting calendar days instead of working days. Weekends and public holidays inside a leave period are usually not deducted. Record the working days in the register.
    • Typing balances by hand. Once one balance is typed over a formula, the sheet can no longer be trusted. Protect the formula columns.
    • Deducting every type of leave. Make sure the leave type column is filled in and the SUMIFS checks it.
    • Forgetting to roll over. At the start of each leave year, copy the closing balances into the opening balance column (as values) and change J2 and J3.
DO IT IN 2 MINUTES

Skip the setup: use our ready-made calculator

The Leave Balance Calculator does all of this for you. Set your accrual rate, paste your staff list and leave register, and every balance and flag appears. Every formula is explained inside the file.

Get the Leave Balance Calculator Get the full HR & Payroll Analysis Toolkit ($35)

Next steps

Leave balances sit alongside turnover in most monthly HR reports. If you haven’t yet, read How to calculate staff turnover in Excel, or browse ready-made tools in Excel for Professionals.