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.
=IF(B4>=5,15,10)*8| A | B | C | |
|---|---|---|---|
| 1 | Jordan | Avery | |
| 2 | Hired | 3/3/2019 | 3/16/2026 |
| 3 | As of | 11/16/2026 | 11/16/2026 |
| 4 | Years | 7 | 0 |
| 5 | Annual hours | 120 | 80 |
=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(B2:B25,">="&F2,C2:C25,"<="&G2)| A | B | C | |
|---|---|---|---|
| 1 | Jordan | Avery | |
| 2 | Per paycheck | 5 | 3.333333 |
| 3 | Accrual starts | 6/1/2019 | 6/14/2026 |
| 4 | Paychecks | 21 | 10 |
| 5 | Accrued | 105 | 33.333333 |
| 6 | Balance before requests | 105 | 33.333333 |
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(B2,B3,B4)*8| A | B | |
|---|---|---|
| 1 | Value | |
| 2 | Start | 7/1/2026 |
| 3 | End | 7/10/2026 |
| 4 | Holiday | 7/3/2026 |
| 5 | Hours | 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.