21.4 HR Attendance and Payroll Sheet
The ask. Ravina, the store lead, keeps attendance. At month end Shahrukh in HR needs present days, overtime pay and the payable amount for each person, rounded to the rupee. Salaries here are fictional practice numbers.
Sheet Payroll, A1:F6. Working days in the month = 26 (cell I1, named WorkDays). Fictional data:
| A: Name | B: Role | C: Monthly salary (₹) | D: Present days | E: OT hours | F: OT rate (₹/hr) |
|---|---|---|---|---|---|
| Raja | Rider | 15,600 | 26 | 10 | 60 |
| Rani | Picker | 13,000 | 24 | 0 | 50 |
| Salman | Rider | 15,600 | 22 | 6 | 60 |
| Ravina | Store lead | 23,400 | 26 | 4 | 90 |
| Zoya | Picker | 13,000 | 25 | 8 | 50 |
About this data: Teaching sample for a fictional shop “Pearl Textiles”. Figures and names (e.g. Rohan Patil) are made up for this lesson on hr attendance and payroll sheet.
What to deliver (one under the other):
- Make the range a Table named
tblPayand name cell I1WorkDays. - Add Attendance % = Present days ÷ WorkDays.
- Add Earned salary = Monthly salary ÷ WorkDays × Present days.
- Add OT pay = OT hours × OT rate.
- Add Payable = ROUND(Earned salary + OT pay, 0).
- Total the Payable column and check it against the bank upload file.
Key formulas (row 2; copy down or let the Table fill them):
G2: =[@[Present days]]/WorkDays
H2: =[@[Monthly salary (₹)]]/WorkDays*[@[Present days]]
I2: =[@[OT hours]]*[@[OT rate (₹/hr)]]
J2: =ROUND([@[Earned salary]]+[@[OT pay]],0)
Expected result (check your numbers):
| Name | Attendance % | Earned salary (₹) | OT pay (₹) | Payable (₹) |
|---|---|---|---|---|
| Raja | 100.0% | 15,600.00 | 600 | 16,200 |
| Rani | 92.3% | 12,000.00 | 0 | 12,000 |
| Salman | 84.6% | 13,200.00 | 360 | 13,560 |
| Ravina | 100.0% | 23,400.00 | 360 | 23,760 |
| Zoya | 96.2% | 12,500.00 | 400 | 12,900 |
About this data: Demo table only — not real customer or company data. Built to practise hr attendance and payroll sheet.
Total payable = ₹78,420.
Checks before you send it:
- WorkDays is one named cell, not typed into every formula.
- Rounding happens once, on the final Payable.
- Present days never exceed WorkDays (add Data Validation).
- This is a practice sheet. Real payroll also needs statutory deductions; ask your HR or CA team for the current rules.
Ravindra Bagale's Tip
Keep working days in one named cell. When the month has 25 working days instead of 26, you change one cell, not twenty formulas.
Ravindra Bagale's Tip – मराठी
Working days एकाच नाव दिलेल्या cell मध्ये ठेवा. महिन्यात 26 ऐवजी 25 working days असतील तर वीस formulas नाही, एकच cell बदलायची.
Ravindra Bagale's Tip – हिंदी
Working days एक ही नाम वाली cell में रखें. महीने में 26 की जगह 25 working days हों तो बीस formulas नहीं, एक cell बदलनी है.
Next step: turn this payroll sheet into a printable, one-page slip per employee with an employee drop-down and XLOOKUP. See 21.11 Salary Slip Creation.
Loading practice tasks...
- Total leave days (Easy): Add up Leave days in D2:D11. (sheet "Data")
- Average salary (Easy): Average of E2:E11, rounded to 2 decimals. (sheet "Data")
- Rows in Sales (Easy): How many rows have Department "Sales"? (sheet "Data")
- Largest leave days (Easy): The largest value in D2:D11. (sheet "Data")
- Days taken (Easy): C2 minus B2. (sheet "Dates")
- Start year (Easy): Year of B3. (sheet "Dates")
- Due month (Easy): Month number of C3. (sheet "Dates")
- Earliest start (Easy): Earliest date in B2:B9 (as a date number). (sheet "Dates")
- Leave days for Sales (Medium): Total of D2:D11 where B is "Sales". (sheet "Data")
- Sales in Denver (Medium): Total of D2:D11 where B is "Sales" and C is "Denver". (sheet "Data")
- Working days (Medium): Working days from B2 to C2. (sheet "Dates")
- Weekday of due (Medium): Weekday number of C4 (Sunday = 1). (sheet "Dates")
Worked example — hr attendance and payroll sheet
Why
Priya Deshmukh in Pune and James O'Neill abroad both need a clear, repeatable way to use hr attendance and payroll sheet on a Summit Schools sheet without breaking totals.
What
Hr Attendance And Payroll Sheet is the Excel idea this page teaches. We will walk one tiny example end to end.
How
- Open a blank sheet. In A1 type a short label for hr attendance and payroll sheet.
- Enter a small made-up value for Priya Deshmukh using £ where money appears.
- Add a second value for James O'Neill using € so you see mixed currencies stay numeric.
- Apply the method from this lesson step by step (menu or formula as shown above).
- Check the result still works inside SUM or a simple check cell.
Formula / action
Follow the formula or ribbon steps shown in this lesson (keep values numeric).
Meaning: Once hr attendance and payroll sheet is correct on one row, copy the same pattern down the column.