Formula Fixer

PTO Tracker in Excel and Google Sheets (Days Left Formula)

Updated 2026-12-01

TL;DR: A PTO tracker needs four formulas. Days in a request: =NETWORKDAYS(B2,C2,Holidays). Accrued so far: =ROUND(Annual/26*PeriodsPaid,2) for biweekly pay. Days left: =Carryover+Accrued-SUMIFS(D:D,E:E,"Taken")-SUMIFS(D:D,E:E,"Booked"). Days you lose at year end: =MAX(0,DaysLeft-CarryCap). Example: leave from Monday 21 December 2026 to Friday 1 January 2027 uses 8 PTO days if 25 December and 1 January are holidays.

December is when people discover they have five days of leave left and only three weeks to use them. A simple tracker shows your balance at a glance and tells you exactly how many days you will lose if you don't book them. The formulas below work the same in Excel and Google Sheets.

Set up the sheet

Use one table for requests and a small summary block:

A: DescriptionB: StartC: EndD: DaysE: Status
2Spring breakMon 6 Apr 2026Fri 10 Apr 2026=NETWORKDAYS(B2,C2,Holidays) = 5Taken
3Long weekendFri 4 Sep 2026Fri 4 Sep 20261Taken
4ChristmasMon 21 Dec 2026Fri 1 Jan 20278Booked

Put your public holidays in a list (for example H2:H12) and name the range Holidays (Excel: Formulas > Define Name; Google Sheets: Data > Named ranges). Use real dates, not text.

Count the PTO days in a request

=NETWORKDAYS(B2,C2,Holidays) counts Monday to Friday between the start and end dates, including both, and skips any date in Holidays. Leave from Monday 21 December 2026 to Friday 1 January 2027 covers 10 weekdays; with 25 December and 1 January in the holiday list, the result is 8.

If your weekend is not Saturday and Sunday, use NETWORKDAYS.INTL with a weekend code or a seven-character pattern starting on Monday, where 1 means a day off:

Friday-Saturday weekend:   =NETWORKDAYS.INTL(B2,C2,7,Holidays)
Sunday only off:           =NETWORKDAYS.INTL(B2,C2,11,Holidays)
Pattern (Sat+Sun off):     =NETWORKDAYS.INTL(B2,C2,"0000011",Holidays)
Half day at the end:       =NETWORKDAYS(B2,C2,Holidays)-0.5

Accrual per pay period

If you earn leave each payday, divide the yearly allowance by the number of pay periods:

Pay frequencyPeriods a year15 days a year120 hours a year
Weekly520.29 days2.31 hours
Biweekly260.58 days4.62 hours
Semi-monthly240.63 days5.00 hours
Monthly121.25 days10.00 hours

Accrued to date, with the allowance in K2 and the number of paydays so far in K3: =ROUND(K2/26*K3,2). After 23 biweekly paydays on 15 days a year that is 13.27 days. If your employer front-loads the whole allowance in January, just use the allowance instead.

Days left, carryover and use-it-or-lose-it

K4 Carried over from last year:  2
K5 Accrued or allowance:          20
K6 Taken:   =SUMIFS(D:D,E:E,"Taken")
K7 Booked:  =SUMIFS(D:D,E:E,"Booked")
K8 Left:    =K4+K5-K6-K7
K9 Carry cap (from your policy):  3
K10 Lose at year end: =MAX(0,K8-K9)

With 2 days carried over, 20 days allowance, 6 taken and 8 booked (the example table above), you have 8 left. If only 3 can roll over, =MAX(0,K8-K9) shows 5 days you will lose unless you book them. MAX stops the result going negative when you are under the cap.

How many working days are left this year?

=NETWORKDAYS(TODAY(),DATE(YEAR(TODAY()),12,31),Holidays) counts the working days from today to 31 December, so you can see whether your remaining leave still fits. For example, from Tuesday 24 November to Thursday 31 December 2026 there are 26 working days if Thanksgiving (26 November) and Christmas Day are in your holiday list.

Make it easy to read

Leave rules differ by employer, state and country (some places limit or ban use-it-or-lose-it policies), so take the allowance, accrual and carryover cap from your own contract or handbook, not from this example.

Quick FAQ

How do I calculate PTO days between two dates in Excel? =NETWORKDAYS(start,end,Holidays). It counts weekdays including both dates and skips your holiday list.

How do I calculate PTO accrual per pay period? Divide the yearly allowance by the number of paydays: 15 days over 26 biweekly paydays is about 0.58 days (or 4.62 hours of 120) per payday.

How do I track PTO in hours instead of days? Multiply the day count by your hours per day, for example =NETWORKDAYS(B2,C2,Holidays)*8, and keep the allowance in hours too.

Why does NETWORKDAYS give #VALUE!? Usually a start, end or holiday date is stored as text. See how to fix #VALUE! errors.

Does this work in Google Sheets? Yes. NETWORKDAYS, NETWORKDAYS.INTL, SUMIFS and MAX work the same way in Google Sheets.

More date formulas: working days left in 2026 and a 2027 calendar in Excel and Google Sheets.

Paid every two weeks? Build your 2027 biweekly pay schedule (26 or 27 paydays).

Sources: Microsoft Support: NETWORKDAYS function; Microsoft Support: NETWORKDAYS.INTL function; Google Docs Editors Help: NETWORKDAYS.

Prefer a ready-made file?

Related: SUMIFS and COUNTIFS: 10 Practical Examples

Templates we sell: see all downloads and prices.

← More guides