Formatting Issues

Reset PTO Allowance on an Employee Anniversary Date in Excel

Kushani NimanthikaKushani Nimanthika Nov 18, 2026 869 views

Question details

Set up a vacation calendar to renew an employee’s PTO allowance and highlight the employee’s anniversary date.

Reset PTO Allowance on an Employee Anniversary Date in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Calculate the current period start

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.

2
Calculate the available allowance

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.

3
Create the highlight rule

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)))).

4
Choose a format and test it

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.

Calculate the PTO balance and highlight the anniversary in Excel
Adapt the example to your policy: The rule highlights anniversaries beginning one year after the hire date. EDATE treats a February 29 hire date as February 28 in non-leap years; adjust the approach if your policy uses a different date. Accrual, carryover, and shared employee usage logs require different calculations.
Work with vacation calendars in WPS

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. 1. Open the calendar: Open WPS Spreadsheets and select Open to load your Excel vacation calendar.
  2. 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. 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. 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.
Highlight anniversary dates in a vacation calendarCalculate a balance from dated PTO usageOpen and edit Microsoft Excel XLSX filesUse a familiar spreadsheet interface
microsoft office alternative - wps office

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.