In short: An attendance sheet records each employee's daily check-in and check-out, from which working hours, lateness and overtime are calculated. Payroll adds basic salary, allowances and overtime, then subtracts absence, deductions and insurance to reach net salary.
What an attendance sheet should include
- Employee name and ID.
- Date and weekday.
- Check-in and check-out time.
- Hours worked (check-out minus check-in).
- Minutes late and overtime hours.
- Status: present, absent, leave, assignment.
Core Excel formulas
| Need | Formula |
|---|---|
| Hours worked | =(C2-B2)*24 |
| Overtime | =MAX(0,D2-8) |
| Minutes late | =MAX(0,(B2-TIME(9,0,0))*1440) |
| Days absent | =COUNTIF(F2:F32,"Absent") |
From attendance to payroll
Net salary = basic salary + allowances + (overtime hours × hourly rate × overtime factor) − absence − lateness − insurance and tax. A day's pay is usually monthly salary ÷ 30, and the hourly rate is daily pay ÷ daily working hours. Check your company policy and local labour law for overtime factors and insurance rates.
Common mistakes
- Typing times as text so formulas fail; use time format.
- Ignoring shifts that cross midnight.
- Not locking formula cells.
Ready template
The payroll, attendance and overtime sheet links monthly attendance to payroll and calculates overtime, deductions and net salary per employee.
Frequently asked questions
How do I calculate working hours in Excel?
Subtract check-in from check-out and multiply by 24: =(C2-B2)*24.
How do I calculate the hourly rate?
Daily pay = salary ÷ 30; hourly rate = daily pay ÷ daily working hours.
