PTO Tracker in Excel and Google Sheets (Days Left Formula)
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: Description | B: Start | C: End | D: Days | E: Status | |
|---|---|---|---|---|---|
| 2 | Spring break | Mon 6 Apr 2026 | Fri 10 Apr 2026 | =NETWORKDAYS(B2,C2,Holidays) = 5 | Taken |
| 3 | Long weekend | Fri 4 Sep 2026 | Fri 4 Sep 2026 | 1 | Taken |
| 4 | Christmas | Mon 21 Dec 2026 | Fri 1 Jan 2027 | 8 | Booked |
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 frequency | Periods a year | 15 days a year | 120 hours a year |
|---|---|---|---|
| Weekly | 52 | 0.29 days | 2.31 hours |
| Biweekly | 26 | 0.58 days | 4.62 hours |
| Semi-monthly | 24 | 0.63 days | 5.00 hours |
| Monthly | 12 | 1.25 days | 10.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
- Add a drop-down for Status (Taken, Booked, Requested) so the SUMIFS totals stay accurate: see drop-down lists
- Highlight days you will lose in red with a conditional format such as
=$K$10>0: see conditional formatting - Lock the summary cell references with $ if you copy the formulas: see absolute references
- Keep one row per request, so you can filter by month or person later
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?
- Presupuesto 2027: Monthly Budget Planner (Spanish) (US$6, Payhip): A printable 2027 budget planner written in Spanish.
- Haushaltsbuch 2027: Monthly Budget Planner (German) (US$6, Payhip): A printable A4 household budget book for 2027 in German.