Attendance Sheet Format in Excel (Free Download + Overtime Formula)

HajariBook Team · 26 Nov 2026

Quick answer: a good attendance sheet in Excel has one row per worker and one column per date (1 to 31). You type a code in each cell, such as P for present, A for absent and H for half-day. COUNTIF formulas then count the days, and one more formula turns days and overtime hours into wages. You can download our free template below, or build it yourself in about 15 minutes.

⬇ Download the free attendance sheet (Excel, with overtime formula)

It works in Excel, Google Sheets and WPS Office on your phone. There are no macros and no sign-up.

What is in the template

  • Attendance sheet: 25 workers × 31 days. Each cell has a drop-down: P, A, H (half-day), DS (double shift), L (paid leave), WO (weekly off). Absent days turn red and half-days turn yellow, so you can spot problems at a glance.
  • Overtime hours sheet: the same workers and dates, where you type extra hours worked. The monthly total flows back to the attendance sheet automatically.
  • Automatic totals per worker: present, half-days, double shifts, leave, absent, paid days, OT hours, day wages, OT pay and total wages.
  • How to use tab: step-by-step instructions you can hand to a supervisor.

Attendance sheet format: the columns you need

ColumnWhat to enter
S.No and worker nameOne row per worker. Keep the same order every month.
Daily wageThe rate for one full day (for example ₹600).
OT rate per hourUsually twice the normal hourly rate (see the formula below).
Dates 1–31One code per day: P, A, H, DS, L or WO.
TotalsCalculated by formulas, so never type in these cells.

If you need the statutory register with fields such as father's name, designation and wage period, use our muster roll format in Excel. It is the same idea, with more columns for inspections. Not sure which one you need? Read what a muster roll is and when it is required.

The Excel formulas (copy and paste)

In the template, dates sit in columns E to AI and the first worker is on row 6. Change the cell references if your sheet is laid out differently.

1. Count present, absent and half-days

Present: =COUNTIF(E6:AI6,"P")
Half-days: =COUNTIF(E6:AI6,"H")
Double shifts: =COUNTIF(E6:AI6,"DS")
Absent: =COUNTIF(E6:AI6,"A")

2. Paid days

A half-day counts as 0.5 and a double shift as 2 hajari:

Paid days = Present + Half-days × 0.5 + Double shifts × 2 + Paid leave

3. Overtime calculation formula in Excel

Under the new labour codes, overtime is generally paid at twice the ordinary rate. For a worker on an 8-hour day:

OT rate per hour: =C6/8*2 (daily wage ÷ 8 hours × 2)
OT hours for the month: =SUM(C6:AG6) on the Overtime sheet
OT pay: =OT hours × OT rate

If your shift is 9 or 10 hours, divide by that number instead of 8. Whatever rule you choose, use it for every worker. Our overtime and half-day salary guide explains the rules in detail.

4. Total wages

Total wages = Paid days × Daily wage + OT pay

Worked example

Ramesh earns ₹600 a day. In November he was present 23 days, did 1 half-day and 1 double shift, and worked 6.5 hours of overtime.

  • Paid days: 23 + (1 × 0.5) + (1 × 2) = 25.5
  • Day wages: 25.5 × ₹600 = ₹15,300
  • OT rate: ₹600 ÷ 8 × 2 = ₹150 per hour
  • OT pay: 6.5 × ₹150 = ₹975
  • Total wages: ₹16,275

These are the sample numbers already filled in the template, so you can check the formulas before deleting them.

How to build the attendance sheet yourself (5 steps)

  1. Set up the grid. Row 5 holds the headings: S.No, name, daily wage, OT rate, then 1 to 31. Add the total columns after day 31. Freeze panes at E6 (View → Freeze panes) so names and dates stay visible while you scroll.
  2. Add the drop-down. Select all the day cells, go to Data → Data validation → List, and type P,A,H,DS,L,WO. Supervisors can now only pick valid codes.
  3. Colour the codes. Home → Conditional formatting → Highlight cells rules → Equal to "A" → red fill. Repeat with yellow for "H". A full row of red jumps out before payday.
  4. Add the formulas from the section above in the first worker's row, then drag them down to the last row.
  5. Protect the formulas. Unlock the input cells (Format cells → Protection → untick Locked), then Review → Protect sheet. Nobody can type over a total by mistake.

Save it as a blank master, and make a copy for each month and each site.

Daily attendance register vs monthly sheet

A daily attendance register is one page per day: the supervisor writes who came, in-time, out-time and signature. A monthly sheet like this template is one row per worker for the whole month, which is what you need to calculate wages.

Many sites keep both: the paper register at the gate, then someone copies it into Excel every evening. That copying is where mistakes creep in. A day gets missed, P is typed in the wrong date, or someone forgets to update the overtime sheet.

Common mistakes with Excel attendance

  • Typing "p" with a space or "Present" instead of P. COUNTIF will not count it. The drop-down in our template prevents this.
  • Overwriting a formula cell with a number. Lock the total columns (Review → Protect sheet) before sharing with supervisors.
  • One file per site, emailed around. By month end nobody knows which copy is latest.
  • No proof. A worker who says "I was there on the 14th" can't be checked against a cell someone typed.

When to move from Excel to an app

Excel is fine for one site and 10–15 workers. Beyond that, most owners switch to an attendance app because the sheet can't do three things:

  • Mark attendance on the spot from the supervisor's phone, with selfie or GPS proof, instead of copying from paper at night.
  • Combine several sites into one payroll without merging files.
  • Deduct kharchi and advances and share a salary slip on WhatsApp in one tap.

HajariBook does all of this. Mark P, A, half-day, double shift or overtime hours each day, and wages, overtime and salary slips are calculated automatically. You can still export the month to Excel whenever you want.

Frequently asked questions

How do I make an attendance sheet in Excel?

Put worker names in rows and dates 1–31 in columns. Add a drop-down (Data → Data validation → List: P,A,H) for each cell, then use COUNTIF at the end of each row to count the codes. Or download our template, which has all of this ready.

What is the formula for overtime in Excel?

Overtime pay = OT hours × (daily wage ÷ normal hours × 2). For ₹600 a day and an 8-hour shift, that is ₹150 per OT hour.

How do I count half-days in an Excel attendance sheet?

Mark them as H and use =COUNTIF(range,"H")*0.5 when you add up paid days.

Is this the same as a muster roll?

It covers attendance and wages, which is the core of a muster roll. For inspections you may need the statutory fields too. Use our muster roll format for that.

Download HajariBook free and stop copying the hajari register into Excel every night.

More guides

Hajri & salary app, free Download

Ready to Go Paperless With Your Attendance Register?

Attendance, payroll and salary slip app for every business with workers: shops, factories, restaurants, farms, security agencies and construction sites.

* Available for free download on Android (Google Play) and iOS (Apple App Store).