On this page11 sections
In short
A leave tracker has three parts: your leave policy, a log of every request with its status, and a balance for each person. NETWORKDAYS.INTL counts the working days in each request, skipping weekends and holidays. DATEDIF accrues earned leave by completed months, and SUMIFS subtracts only approved leave. In Foxcolab Sheets the tracker is end-to-end encrypted, and a Forms leave request can feed it.
Key takeaways
- Write down the leave policy first. In India, minimum leave depends on your State's Shops and Establishments Act or, for factories and other covered workplaces, the OSH Code.
- Log every request on one sheet with the person, type, dates, days and a status of Pending, Approved or Rejected.
- NETWORKDAYS.INTL with weekend code 11 counts a six-day week, and a holiday list stops festivals counting as leave.
- Accrue earned leave from completed months with DATEDIF, so mid-year joiners get the right share automatically.
- Subtract only Approved leave from balances, and flag pending requests that are bigger than the balance.
- Sick leave says something about health. Foxcolab Sheets encrypts the tracker on your device, so Foxcolab can't read it.
Last reviewed 3 December 2026 by Foxcolab Team
A leave tracker is a spreadsheet that records every leave request, counts the working days it uses and keeps each person's balance up to date. It has three parts: your leave policy, a log of requests with their approval status, and a balance sheet that works itself out from the log. This guide covers the policy questions to settle first, the formulas for working days, monthly accrual and balances, a worked example, and how to build the leave tracker in Foxcolab Sheets with a Foxcolab Forms leave request feeding it. Both are end-to-end encrypted, which matters because sick leave is health information.
Settle your leave policy first#
A tracker can only apply rules you've written down. Decide these before you build anything:
| Decision | Example policy |
|---|---|
| Leave types | Earned leave (EL), casual leave (CL), sick leave (SL), leave without pay (LWP) |
| How earned leave builds up | 1.5 days for each completed month, 18 a year |
| Leave credited at the start of the year | 7 days CL and 7 days SL |
| Leave year | January to December |
| Carry forward | Earned leave up to 45 days, the rest lapses |
| Working week | Monday to Saturday, Sunday off |
| Half days | Allowed, counted as 0.5 |
That's an example, not a legal minimum. In India, leave for shops and offices comes from your State's Shops and Establishments Act, so the numbers differ from State to State. Maharashtra's 2017 Act, for example, caps accumulated leave at 45 days under section 18(5), and its official Form P tells a worker when they reach it. Factories and other establishments covered by the Occupational Safety, Health and Working Conditions Code give paid annual leave to workers who work 180 days or more in a calendar year, down from 240 under the old laws (PIB). Check your State's Act and your employment contracts, then set your policy at or above them.
Lay out the workbook#
Use three tabs, so the log stays simple and the balances never need typing.
| Tab | Columns | Who edits it |
|---|---|---|
| Requests | A Employee, B Type, C From, D To, E Half day, F Days, G Status, H Decided by, I Note, J Check | HR adds rows; approvers set Status |
| Balances | A Employee, B EL carried in, C EL accrued, D EL taken, E EL balance, F CL left, G SL left, H Pending days, I Carry forward, K Joined | Formulas only, except B and K |
| Holidays | A list of the year's holiday dates | HR, once a year |
On Balances, keep the settings at the top: B1 the as-of date, B2 the monthly accrual (1.5), B3 the yearly CL and SL credit (7), B4 the carry-forward cap (45). People start in row 5.
The formulas#
F2 Days =IF(A2="","",IF(E2,0.5,NETWORKDAYS.INTL(C2,D2,11,Holidays!$A$2:$A$30)))
J2 Check =IF(AND(G2="Pending",B2="EL",F2>XLOOKUP(A2,Balances!$A$5:$A$50,Balances!$E$5:$E$50,0)),"Over balance","")C5 EL accrued =$B$2*DATEDIF(MAX(K5,DATE(YEAR($B$1),1,1)),$B$1+1,"m")
D5 EL taken =SUMIFS(Requests!$F:$F,Requests!$A:$A,$A5,Requests!$B:$B,"EL",Requests!$G:$G,"Approved")
E5 EL balance =B5+C5-D5
F5 CL left =$B$3-SUMIFS(Requests!$F:$F,Requests!$A:$A,$A5,Requests!$B:$B,"CL",Requests!$G:$G,"Approved")
G5 SL left =$B$3-SUMIFS(Requests!$F:$F,Requests!$A:$A,$A5,Requests!$B:$B,"SL",Requests!$G:$G,"Approved")
H5 Pending days =SUMIFS(Requests!$F:$F,Requests!$A:$A,$A5,Requests!$G:$G,"Pending")
I5 Carry forward =MIN($B$4,E5)What each one does:
- Days: NETWORKDAYS.INTL counts working days between two dates. Weekend code 11 means Sunday only. Use NETWORKDAYS(C2,D2,Holidays!$A$2:$A$30) instead if Saturday is off too. A ticked Half day box counts 0.5.
- Accrued: DATEDIF with "m" counts completed months from 1 January, or from the joining date for someone who joined this year. Adding 1 to the as-of date makes a month count on its last day. Put =TODAY() in B1 if you want it to update itself.
- Taken: SUMIFS adds only Approved requests, so a Pending or Rejected request never touches a balance.
- Check: flags a pending earned-leave request that's bigger than the person's balance, before anyone approves it.
- Carry forward: at year end, MIN applies the cap. Copy column I into next year's B.
A worked example#
Here's the log for three people, with 26 January, 15 August and 2 October 2026 on the Holidays tab.
| Employee | Type | From | To | Days | Status |
|---|---|---|---|---|---|
| Asha Rao | EL | Mon 9 Mar | Fri 13 Mar | 5 | Approved |
| Asha Rao | CL | Fri 19 Jun | Fri 19 Jun | 1 | Approved |
| Asha Rao | EL | Mon 28 Sep | Sat 3 Oct | 5 | Approved |
| Ravi Kumar | SL | Fri 14 Aug | Mon 17 Aug | 2 | Approved |
| Meera Iyer | EL | Mon 4 May | Fri 8 May | 5 | Rejected |
| Meera Iyer | CL | Fri 20 Nov (half day) | Fri 20 Nov | 0.5 | Approved |
| Ravi Kumar | EL | Mon 21 Dec | Thu 31 Dec | 10 | Pending, Over balance |
Asha's September leave spans six working days, but 2 October is a holiday, so it costs 5. Ravi's sick leave skips 15 August (a holiday) and 16 August (a Sunday). With the as-of date set to 30 November 2026:
| Employee | Joined | EL carried in | EL accrued | EL taken | EL balance | CL left | SL left | Pending |
|---|---|---|---|---|---|---|---|---|
| Asha Rao | 12 Jun 2023 | 6 | 16.5 | 10 | 12.5 | 6 | 7 | 0 |
| Ravi Kumar | 1 Jul 2026 | 0 | 7.5 | 0 | 7.5 | 7 | 5 | 10 |
| Meera Iyer | 1 Feb 2024 | 10 | 16.5 | 0 | 26.5 | 6.5 | 7 | 0 |
Ravi joined in July, so he has accrued 5 months × 1.5 = 7.5 days, and his 10-day December request is flagged. Meera's rejected May request doesn't reduce her balance.
Make a leave tracker in Foxcolab Sheets#
Leave records show who was ill, who took unpaid time off and who is away when. Foxcolab Sheets encrypts every spreadsheet on your device with its own key, and cells, titles and comments are encrypted before they sync, so Foxcolab can't read them. Sheets and Forms come with every Foxcolab account, the free plan included.
Build the tabs#
Create the spreadsheet
In your Sheets library, click New, then Blank spreadsheet. Name it Leave tracker 2026 and right-click the first tab to Rename it Requests.
Add the other tabs
Choose Insert → Sheet twice and rename the new tabs Balances and Holidays. Type the holiday dates on Holidays from A2.
Type the headings and formulas
Add the column headings from the layout table, then the formulas above. Fill the Requests formulas down a few hundred rows and the Balances formulas down for everyone on the team.
Add the Half day box
Select E2:E500 on Requests and choose Insert → Checkbox.
Keep headings in view
On each tab, choose View → Freeze → 1 row, so headings stay put as the log grows.
Make approvals clean#
Add the Type and Status lists
Select B2:B500 and choose Data → Data validation → Add rule. Set Criteria to Dropdown, use Add item for EL, CL, SL and LWP, choose Reject the input and click Done. Do the same for G2:G500 with Pending, Approved and Rejected, giving each item its own color with Display style set to Chip.
Highlight problems
Select J2:J500 and choose Format → Conditional formatting → Add rule. Under Format cells if, pick Text is exactly, type Over balance, choose a red Fill color and click Done.
Lock the balances
Open Balances, select C5:I50 and choose Data → Protect sheets and ranges → Add a protected range or sheet. Pick Only the owner and you and click Done, so nobody can type over a formula.
Keep a trail
File → Show changes lists who changed each Status and when. At the end of each month, choose File → Version history → Name current version, for example "Nov 2026 closed", before payroll runs.
Add drop-down lists and data validation in Sheets and Protect a range in Sheets cover every option.
Take requests with a Foxcolab Forms leave request#
A form saves HR from retyping requests from chat messages, and in an Encrypted form each answer is encrypted on the employee's device.
Create the form
In Foxcolab Forms, select New form, then Blank form. Type the Title Leave request and keep Answers set to Encrypted.
Add the questions
Add a Short answer for the employee's name, a Dropdown for the leave type, two Date questions for the first and last day, a Yes / No for a half day and an optional Long answer for a note. Mark the first four Required. Forms doesn't collect names unless you ask, so keep the name question.
Limit it to your team
Under Access, set Who can respond to People in my organization, then Publish and share the link.
Review and record requests
Open Results → Responses to see new requests. Add each one to the Requests tab as Pending, then mark the response Done with Mark as. To bring in many at once, choose Export → CSV, then in Sheets choose File → Import…, pick Insert new sheet(s) and copy the rows across.
Two Date questions put the first and last day in their own columns, which makes copying them into From and To simple. Ask for the reason type, never a diagnosis. Exported files aren't encrypted, so delete them once the rows are in the tracker.
Share it carefully#
Sheets shares the whole spreadsheet, so the full tracker belongs with HR and approvers only. Click Share and invite them as Editor. Give payroll Viewer access, with Access expires for an outside payroll firm. Employees can ask HR for their balance, or you can copy their row into a sheet of their own. If you remove someone, Sheets puts a new key in place, so they can't read anything added afterward.
Mistakes that break a leave tracker#
| Mistake | What happens | Fix |
|---|---|---|
| Counting calendar days | Weekends and holidays come off the balance | Use NETWORKDAYS.INTL with a holiday list |
| Subtracting pending requests | Balances drop before anyone approves | SUMIFS on Status "Approved" only |
| Typing balances by hand | They drift from the log | Let formulas work them out |
| A full year's accrual for July joiners | New starters get too much leave | Accrue from the joining date with DATEDIF |
| Medical details in Note | Health information spreads to every editor | Record the leave type, not the reason |
| No holiday list for next year | January's leave counts festival days | Update Holidays before the year starts |
Related#
- How to make an attendance sheet
- How to make a salary slip
- Question types in Forms
- Share a spreadsheet in Sheets
Leave records belong to your people. Create a free account and build your leave tracker in a spreadsheet Foxcolab can't read, or see plans for your own domain and more storage. Managing leave across offices and States? See Foxcolab for enterprise or talk to sales.
Frequently asked questions
How many days of leave are employees entitled to in India?
It depends on where and what kind of workplace. Shops and offices follow their State's Shops and Establishments Act, so entitlements differ between States. Factories and other establishments covered by the Occupational Safety, Health and Working Conditions Code, 2020 give paid annual leave to workers who work 180 days or more in a calendar year. Check your State's rules and your contracts, then set your policy at or above them.
How do I calculate earned leave accrual in a spreadsheet?
Multiply the monthly accrual by the number of completed months. With 1.5 days a month and the as-of date in B1, =1.5*DATEDIF(MAX(joining date,DATE(YEAR(B1),1,1)),B1+1,"m") gives 16.5 days on 30 November for someone who worked all year, and 7.5 days for someone who joined on 1 July.
How do I count leave days without weekends and holidays?
Use NETWORKDAYS.INTL(start, end, 11, holidays) for a week with only Sunday off, or NETWORKDAYS(start, end, holidays) for a Saturday and Sunday weekend. Leave from Monday 28 September to Saturday 3 October 2026 counts as 5 days in a six-day week, because 2 October is a holiday.
Can employees request leave with a form?
Yes. In Foxcolab Forms, build a leave request with a name, a leave type dropdown and two Date questions, and keep answers Encrypted. Requests arrive in Results, where you can review them and export them to add to the tracker.

Written by
Foxcolab TeamThe Foxcolab team, who build the apps and help people set them up.
More from FoxcolabDid this guide help you get it done?
One click, no account needed.