How to track PTO accruals in Excel

This is not legal, tax, or payroll advice. The Department of Labor’s vacation-leave page says the Fair Labor Standards Act does not require payment for time not worked, including vacations and holidays. The hours below are a sample policy. A handbook, a state rule, or a contract can use a different clock.

The workbook with these two people, these holidays, and these balances is the PTO tracker.

Completed years decide the grant

The sample grants 10 days a year until five completed years, then 15 days. A day is 8 hours, so the grants are 80 hours and 120 hours. The as-of date is November 16, 2026, the same date as How to calculate years of service in Excel.

DATEDIF counts completed years. Jordan, hired March 3, 2019, has 7. Avery, hired March 16, 2026, has 0. On the sheet a zero count shows as an en dash.

DATEDIF
=IF(B4>=5,15,10)*8
=IF(B4>=5,15,10)*8B5
Two hire dates, one as-of date
ABC
1JordanAvery
2Hired3/3/20193/16/2026
3As of11/16/202611/16/2026
4Years70
5Annual hours12080
A picture of the sample policy. Jordan was hired March 3, 2019. Avery was hired March 16, 2026. Both are measured on November 16, 2026. Five completed years moves the grant from 10 days to 15. A day is 8 hours.
=DATEDIF(DATE(2019,3,3), DATE(2026,11,16), "Y")
=DATEDIF(DATE(2026,3,16), DATE(2026,11,16), "Y")
=IF(7>=5, 15, 10)*8
=IF(0>=5, 15, 10)*8

Those results are 7, 0, 120, and 80. The per-paycheck rate, and why 80/24 should stay a fraction, is the worked example in How to calculate PTO accrual per pay period in Excel.

Paychecks that have already ended

The file lists 24 periods. Each month is the 1st through the 15th, then the 16th through the last day. A period counts when it starts on or after the waiting period ends and it ends on or before November 16.

Jordan’s 90th day was June 1, 2019, so every 2026 period that has ended counts. That is 21, through November 15. November 16 through November 30 has not ended. 21 times 120/24 is 105.00 hours.

Avery’s 90th day is Sunday, June 14, 2026. The next period starts June 16. Periods from June 16 through November 15 are 10. Ten times 80/24 is 33.333… hours. A two-decimal format shows 33.33. The cell keeps the fraction.

COUNTIFS
=COUNTIFS(B2:B25,">="&F2,C2:C25,"<="&G2)
105B6
Paychecks through November 15
ABC
1JordanAvery
2Per paycheck53.333333
3Accrual starts6/1/20196/14/2026
4Paychecks2110
5Accrued10533.333333
6Balance before requests10533.333333
A picture of the year to date. The year has 24 semi-monthly periods. Jordan's accrual started in 2019, so 21 periods have ended by November 16. Avery's 90th day is June 14, and the next period starts June 16, so 10 periods count. 21 times 5.00 is 105.00. 10 times 80/24 is 33.333….

COUNTIFS is the count of those periods. The two tests are the start date and the end date:

=COUNTIFS(start, ">="&DATE(2026,6,14), finish, "<="&DATE(2026,11,16))

That is Avery’s 10. Jordan’s hire date is years earlier, so the same test on the 2026 list is 21.

A request that includes July 3

Jordan’s made-up request is July 1 through July 10, 2026. Avery’s is October 16, one day, 8 hours.

OPM’s 2026 holiday schedule lists Independence Day on Friday, July 3. July 4 is a Saturday. xl.us.holiday returns the legal date, July 4, not that Friday. The sheet types July 3, the day the office is closed. Thanksgiving is Thursday, November 26, the fourth Thursday. xl.nth.weekday can find that Thursday in Microsoft 365. The sheet stores the date OPM published.

NETWORKDAYS counts both ends and skips Saturday and Sunday. The third argument is the holiday list.

NETWORKDAYS
=NETWORKDAYS(B2,B3,B4)*8
=NETWORKDAYS(B2,B3,B4)*8B5
July 1 through July 10, with July 3 off
AB
1Value
2Start7/1/2026
3End7/10/2026
4Holiday7/3/2026
5Hours56
A picture of Jordan's request. Saturday and Sunday are off. Friday, July 3 is the holiday, because July 4 is a Saturday. The working days are July 1, 2, 6, 7, 8, 9, and 10. Seven days times 8 hours is 56.
=NETWORKDAYS(DATE(2026,7,1), DATE(2026,7,10), DATE(2026,7,3))*8
=NETWORKDAYS(DATE(2026,10,16), DATE(2026,10,16), DATE(2026,7,3))*8

Those are 56 and 8. October 12 is Columbus Day, and it is not inside Avery’s one day.

NETWORKDAYS.INTL is the same count when the weekend string is "0000011", Saturday and Sunday. The workbook uses NETWORKDAYS so the file stays on the weekend Excel 2010 already assumes. The July 1 through July 15 picture in the accrual article, 10 working days and then 6, is that same weekend with July 3 removed.

What is left

SUMIFS adds the request hours for one name. Jordan has used 56. 105.00 minus 56 is 49.00. Avery has used 8. 33.333… minus 8 is 25.333…, which shows as 25.33.

The two balances together are 49.00 plus 25.333…, which is 74.333… and shows as 74.33. Accrued hours together are 138.333…, shown as 138.33. Used hours together are 64.00.

TODAY on November 16, 2026 is that same as-of date. The file uses the date you type, so the sample does not move when the workbook calculates.


Template for this article

PTO Tracker

More from the blog