Reset PTO Allowance on an Employee Anniversary Date in Excel
Question details
Set up a vacation calendar to renew an employee’s PTO allowance and highlight the employee’s anniversary date.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- An employee’s annual PTO allowance renews on the anniversary of their start date, and the calendar should identify that date.
- Observed behavior
- The calendar should show the anniversary and calculate the available allowance for the current annual period.
Identify the hire-date cell, annual allowance, calendar date headers, and PTO usage records in your workbook. The example assumes actual Excel dates, a fixed annual allowance, and no accrual or carryover.
Calculate the PTO balance and highlight the anniversary in Excel
Use this example for one employee, then adjust the cell references and policy rules to match your workbook.
Conditional formatting only changes a cell’s appearance; it does not reset a stored balance. A separate formula must calculate the balance for the current allowance period.
This example uses B2 for the hire date, C2 for the annual allowance, D1:AH1 for calendar dates, and D2:AH2 for calendar cells. Enter the employee’s PTO usage dates in A5:A100 and the corresponding amounts in B5:B100, using the same unit as the allowance.
In C3, enter =IF(TODAY()<B2,"",IF(EDATE(B2,12*(YEAR(TODAY())-YEAR(B2)))>TODAY(),EDATE(B2,12*(YEAR(TODAY())-YEAR(B2)-1)),EDATE(B2,12*(YEAR(TODAY())-YEAR(B2))))). Format C3 as a date.
In D3, enter =IF(C3="","",C2-SUMIFS(B5:B100,A5:A100,">="&C3,A5:A100,"<="&TODAY())). The balance renews at the annual allowance on the anniversary and subtracts usage recorded in the current period through today.
Select D2:AH2, then choose Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format. Enter =AND(D$1>=EDATE($B2,12),D$1=EDATE($B2,12*(YEAR(D$1)-YEAR($B2)))).
Select Format, choose a fill color, and confirm the rule. Enter calendar dates around an anniversary in D1:AH1 and check that the corresponding cell in row 2 is highlighted.

Track PTO anniversaries in WPS Spreadsheets
Use formulas to calculate the current PTO allowance period and conditional formatting to highlight an employee’s anniversary in WPS Spreadsheets.
- 1. Open the calendar: Open WPS Spreadsheets and select Open to load your Excel vacation calendar.
- 2. Enter the PTO information: For the example above, enter the hire date in B2, the annual allowance in C2, calendar dates in D1:AH1, and usage dates and amounts in A5:B100.
- 3. Add the balance formulas: Enter the period-start formula from the Excel solution in C3 and the available-allowance formula in D3. Format C3 as a date.
- 4. Highlight the anniversary: Select D2:AH2 and use Home > Conditional Formatting to create a formula-based rule with the anniversary formula shown above. Choose a fill color and check the result against a known anniversary.

Frequently Asked Questions
Can conditional formatting reset a PTO balance?
No. Home > Conditional Formatting changes how cells look, not their stored values. Use a balance formula that subtracts usage from the allowance for the current anniversary period.
How do I adapt the highlight formula to my calendar?
Replace $B2 with the hire-date cell and D$1 with the first calendar date header, then apply the rule to the corresponding calendar cells. Keep the row and column references appropriate for your layout.
What happens if an employee was hired on February 29?
The EDATE-based example uses February 28 as the anniversary in non-leap years. Check your PTO policy before using it, as some employers may use March 1 instead.
Does the balance formula include carryover or accrued PTO?
No. It assumes a fixed allowance at the start of each period and subtracts recorded usage through today. Add policy-specific calculations if employees accrue PTO or carry unused time forward.




