Calculate Monthly PTO Accrual and Annual Vacation in Excel
Question details
Set up formulas to calculate monthly PTO accrual and annual vacation grants for each employee.

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

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. Open a worksheet: Open WPS Spreadsheets and create a blank workbook or open an existing XLSX employee worksheet.
- 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. 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. Fill and save: Drag the formula cells' fill handles down for the remaining employees, then choose File > Save As to save the workbook.

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.




