Function Problems

Reset Employee Vacation Days on an Anniversary in Excel

Bushra ParveenBushra Parveen Nov 18, 2026 869 views

Question details

Calculate an employee's latest work anniversary and reset the current vacation balance on that date.

Reset Employee Vacation Days on an Anniversary in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
An employee's vacation allowance renews each year on their employment anniversary.
Observed behavior
The current balance should reflect the annual allowance minus vacation used since the most recent anniversary.
Before you start

Confirm that the employee's start date is a valid Excel date and that vacation usage is recorded with dates and day amounts. The example assumes a fixed annual allowance with no carryover and a start date that is not in the future.

Solution 1Recommended

Calculate the current anniversary and vacation balance

Use the latest anniversary to count only vacation taken in the current allowance year.

1
Enter the employee information

Enter the employee's start date in A2 and annual vacation allowance in B2. Format A2 as a date using Home > Number Format.

2
Calculate the latest anniversary

In C2, enter =DATE(YEAR(TODAY())-(DATE(YEAR(TODAY()),MONTH(A2),DAY(A2))>TODAY()),MONTH(A2),DAY(A2)). Format C2 as a date. This returns the most recent anniversary, including today if today is the anniversary.

3
Record vacation usage

For this employee, enter vacation dates in G2:G1000 and the corresponding days used in H2:H1000. Use one dated entry for each amount of vacation taken.

4
Calculate the remaining balance

In D2, enter =B2-SUMIFS($H$2:$H$1000,$G$2:$G$1000,">="&C2,$G$2:$G$1000,"<="&TODAY()). On each anniversary, the date range begins again, so earlier usage no longer reduces the current balance.

Calculate the current anniversary and vacation balance
Check your vacation policy: This formula does not carry over unused days or change the allowance based on service. For a February 29 start date, Excel's DATE function treats the anniversary as March 1 in non-leap years.
Calculate vacation balances in WPS

Track Anniversary-Based Vacation Balances in WPS Spreadsheet

Use date and SUMIFS formulas in WPS Spreadsheet to calculate the latest anniversary and count vacation days used in the current allowance year.

  1. 1. Set up the employee row: Open WPS Spreadsheet and enter the employee's start date in A2 and fixed annual allowance in B2.
  2. 2. Find the latest anniversary: In C2, enter =DATE(YEAR(TODAY())-(DATE(YEAR(TODAY()),MONTH(A2),DAY(A2))>TODAY()),MONTH(A2),DAY(A2)), then format the cell as a date.
  3. 3. Enter vacation usage: Enter this employee's vacation dates in G2:G1000 and the days used on each date in H2:H1000.
  4. 4. Calculate the balance: In D2, enter =B2-SUMIFS($H$2:$H$1000,$G$2:$G$1000,">="&C2,$G$2:$G$1000,"<="&TODAY()) to show the allowance minus days used since the latest anniversary.
Automatically starts a new vacation-use period on the employee's anniversaryOpens and edits Microsoft Excel XLSX filesKeeps dated vacation-use entries visible for reviewProvides familiar spreadsheet formulas and formatting tools
microsoft office alternative - wps office

Frequently Asked Questions

Does the formula erase vacation entries from the previous year?

No. The entries remain in the log, but SUMIFS counts only dates from the latest anniversary through today.

What happens if an employee started on February 29?

The DATE formula treats the anniversary as March 1 in non-leap years. If your policy uses February 28 instead, the formula must be adjusted.

Can I use one vacation log for multiple employees?

Yes. Add an employee identifier column to the log and add a matching identifier criterion to SUMIFS so each balance counts only that employee's vacation entries.

How can I change the allowance based on years of service?

Calculate completed service years with =YEAR(C2)-YEAR(A2), then use an IF formula or a lookup table to determine the allowance in B2 according to your policy.

Why hasn't the balance updated on the anniversary?

Check that A2 and the vacation log dates are valid dates, then check Formulas > Calculation Options and select Automatic. The TODAY function updates when the workbook recalculates.