Templates

Attendance sheet format: free Excel template with automatic LOP

A ready-to-use monthly attendance sheet in Excel. Pick a code for each day and it totals present days, leave, absences, loss of pay and payable days for you.

  • Hajiri Team
  • Updated 3 December 2026
  • 4 min read
Templates guide

Here's a free monthly attendance sheet in Excel, built for Indian businesses. You choose a code for each employee each day, and the sheet works out present days, leave, absences, loss of pay (LOP) and payable days automatically.

Download the attendance sheet (Excel, free)

No sign-up needed. It works in Excel, Google Sheets and LibreOffice.

What's in the template

  • Month and year selector. Enter the month and year, and the dates, weekdays and days in the month update by themselves, including February in leap years.
  • Dropdown codes for each day, so nobody types "Present", "present" and "P" in the same column.
  • Colour coding: absences in red, half days in orange, leave in blue, weekly offs and holidays in grey.
  • Automatic totals for each code, plus LOP days and payable days.
  • 30 employee rows, with two filled-in examples to show how it works.
  • A "How to use" tab with the code list and the salary formula.

The attendance codes

Code Meaning Effect on salary
P Present, full day Paid
HD Half day without leave 0.5 day LOP
L Paid leave (casual, sick, earned) Paid
A Absent without leave 1 day LOP
UL Approved unpaid leave 1 day LOP
WO Weekly off Paid
H Paid holiday Paid

The sheet uses two formulas:

LOP days = A + UL + (0.5 × HD) Payable days = Days in month − LOP days

Then salary for the month is monthly gross × payable days ÷ days in month. For the other per-day methods (fixed 30 or 26 days) and a full worked example, see how to calculate salary from attendance.

Example: one employee in December 2026

December 2026 has 31 days and 4 Sundays. Asha works every day except one half day and one unexcused absence, with Christmas as a paid holiday.

P HD L A UL WO H LOP days Payable days
24 1 0 1 0 4 1 1.5 29.5

On a monthly gross of ₹31,000, her salary is ₹31,000 × 29.5 ÷ 31 = ₹29,500.

What a proper attendance register should record

An attendance sheet tells you who was present. A register that holds up in an audit or an inspection needs more:

  1. Employee identity: name, employee ID, department and designation.
  2. Date and status for every day of the wage period.
  3. Time in and time out, so you can work out daily and weekly hours. Under the labour codes, work beyond 8 hours a day or 48 hours a week is overtime, so "P" alone isn't enough for staff who can earn overtime.
  4. Leave type and approval for every leave day.
  5. Weekly offs and holidays, including any substitute rest day given for working on an off day.
  6. Overtime hours, recorded separately. See our overtime calculation guide.
  7. Who recorded it and when, so entries can't quietly change later.

The format of statutory registers is set by your state's rules under the labour codes, which states are still notifying. Check the forms that apply to each location.

Skip the spreadsheet: attendance on WhatsApp

With Hajiri, staff check in on WhatsApp with a selfie and location. The monthly sheet, LOP and payroll are ready without anyone typing codes.

Book a free demo See pricing

When a spreadsheet stops working

A spreadsheet is fine for a small team in one office. It starts to break when:

  • Someone fills it in at month end from memory. Back-filled sheets are where disputes start.
  • Staff mark each other present. A code in a cell can't show who was actually there. Our guide on biometric vs mobile attendance covers how to stop proxy attendance.
  • You have shifts or field staff. A single "P" can't show a night shift, a split shift or a visit to a client site.
  • Payroll is done from a second copy. Every retyped number is a chance for an error.

At that point, an attendance system that records time and location at the moment of check-in saves more time than it costs.

Help & Support

Frequently Asked Questions

Hajiri expert
Talk to our experts and get all your questions answered!
Chat with us on WhatsAppTalk to an expert

A monthly attendance sheet lists employees in rows and the days of the month in columns. Each cell holds a code such as P (present), A (absent), L (leave), HD (half day), WO (weekly off) or H (holiday), with totals at the end of each row.

Put employee details in the first columns and one column per day. Add a dropdown list of codes with data validation, use COUNTIF to total each code, and calculate loss of pay as absences plus unpaid leave plus half of the half days. Or download our free template, which does all of this.

Each half day without leave counts as 0.5 day of loss of pay. Two half days equal one LOP day.

It can work as an internal record, but statutory registers must follow the format your state's labour code rules prescribe. Many businesses move to digital attendance with time-stamped check-ins so records are complete and can't be changed after the fact.