Calculation Issues

Calculate Monthly PTO Accrual and Annual Vacation in Excel

Adam DavisAdam Davis Dec 2, 2026 869 views

Question details

Set up formulas to calculate monthly PTO accrual and annual vacation grants for each employee.

Calculate Monthly PTO Accrual and Annual Vacation in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
An employer wants to accrue one PTO hour per completed month, up to 12 hours, and grant vacation hours on each employee's hire-date anniversary.
Observed behavior
The worksheet should show capped PTO accrual and vacation hours earned by a selected date.
Before you start

Confirm each employee's hire date and annual vacation grant in hours. The formulas below assume PTO accrues after each completed month and vacation is first granted on the first anniversary.

Solution 1Recommended

Calculate PTO and vacation grants from the hire date

Use these formulas to show capped cumulative PTO earned and cumulative annual vacation grants as of a chosen date.

This example treats PTO and vacation as separate entitlements. It calculates hours earned, not available balances after leave is taken.

The PTO formula caps cumulative earned hours at 12; it does not restart accrual after an employee uses PTO. A policy that resumes accrual below a balance cap requires transaction history and a different calculation.

1
Create the input columns

In row 1, label columns A through E Hire Date, As-of Date, Annual Vacation Hours, PTO Earned, and Vacation Granted. Enter each employee's hire date in A2 and annual vacation grant in C2.

2
Set the calculation date

Enter a valid date in B2, or enter =TODAY() to update the calculation automatically. The as-of date must be on or after the hire date.

3
Calculate monthly PTO

In D2, enter =IF(OR(A2="",B2="",B2<A2),"",MIN(12,DATEDIF(A2,B2,"m"))). This awards one hour for each completed month and caps cumulative earned PTO at 12 hours.

4
Calculate anniversary vacation grants

In E2, enter =IF(OR(A2="",B2="",C2="",B2<A2),"",C2*MAX(0,YEAR(B2)-YEAR(A2)-IF(B2<EDATE(A2,12*(YEAR(B2)-YEAR(A2))),1,0))). This adds the hours in C2 for each completed hire-date anniversary.

5
Apply the formulas to employees

Select the cells in columns B, D, and E that contain the formulas and drag their fill handles down to the remaining employee rows. Enter the hire dates and annual grants for those rows.

Calculate PTO and vacation grants from the hire date
Check your leave policy: The vacation formula assumes the same grant applies every year and does not deduct leave taken or limit carryover. It treats February 28 as the anniversary in non-leap years for a February 29 hire date.
Calculate leave in WPS Spreadsheets

Track PTO accrual and vacation grants in WPS Spreadsheets

Use WPS Spreadsheets to enter hire dates and annual grants, then calculate monthly PTO and anniversary-based vacation with worksheet formulas.

  1. 1. Open a worksheet: Open WPS Spreadsheets and create a blank workbook or open an existing XLSX employee worksheet.
  2. 2. Enter employee information: In columns A, B, and C, enter each employee's hire date, as-of date, and annual vacation grant in hours. Use =TODAY() in column B if you want the date to update automatically.
  3. 3. Add the accrual formulas: Enter =IF(OR(A2="",B2="",B2<A2),"",MIN(12,DATEDIF(A2,B2,"m"))) in D2. Enter the anniversary vacation formula from the solution above in E2.
  4. 4. Fill and save: Drag the formula cells' fill handles down for the remaining employees, then choose File > Save As to save the workbook.
Calculate capped monthly PTO and anniversary vacation grantsOpen and save Microsoft Excel XLSX filesWork with familiar spreadsheet formulas and a familiar interfaceUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Does the PTO formula calculate the available balance?

No. The formula in D2 calculates cumulative PTO earned, capped at 12 hours. It does not subtract hours taken or resume accrual after leave is used.

When does the first vacation grant appear?

The vacation formula in E2 adds the first grant when the as-of date in B2 reaches the first hire-date anniversary. Before that date, it returns zero.

How can I calculate accrual as of a past date?

Enter the desired date directly in B2 instead of using =TODAY(). The date must be on or after the hire date in A2.

What if annual vacation hours change with tenure?

The example assumes the same grant in C2 for every anniversary. If the grant changes by year of service, use a tenure-based entitlement table and calculate each year's grant according to your policy.