stefanoluigi
New Member
- Joined
- May 3, 2018
- Messages
- 2
Hi everyone,
I need some assistance calculating regular and OT hours by day and week. Anything over 12 hours in a day and over 40 hours in a week. If the hours were already counted as OT for the daily over 12, they should not be counted for the over 40 hours for the respective week. This is an example of a time file that I have. I am looking for 1 summary line by employee that I have bolded below.
The employees don't all work 5 days, or may have multiple rows for one day.
[TABLE="width: 617"]
<tbody>[TR]
[TD]Payroll Name[/TD]
[TD]ee id[/TD]
[TD]pay rate[/TD]
[TD]Pay Date[/TD]
[TD]Hours[/TD]
[TD]Week[/TD]
[TD][/TD]
[TD]Reg[/TD]
[TD]Day OT[/TD]
[TD]Week OT[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/11/2016[/TD]
[TD]6.80[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]6.80[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/12/2016[/TD]
[TD]9.22[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]9.22[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/13/2016[/TD]
[TD]6.07[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]6.07[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/14/2016[/TD]
[TD]5.85[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]5.85[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/15/2016[/TD]
[TD]12.07[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]12.00[/TD]
[TD]0.07[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/18/2016[/TD]
[TD]14.00[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]12.00[/TD]
[TD]2.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/19/2016[/TD]
[TD]8.17[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]8.17[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/20/2016[/TD]
[TD]12.00[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]12.00[/TD]
[TD]0.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/21/2016[/TD]
[TD]16.00[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]12.00[/TD]
[TD]4.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/22/2016[/TD]
[TD]12.02[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]12.00[/TD]
[TD]0.02[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Bi Weekly Total [/TD]
[TD]123456[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]80.00[/TD]
[TD="align: right"]6.08[/TD]
[TD="align: right"]16.17[/TD]
[/TR]
</tbody>[/TABLE]
Any assistance would be appreciated.
I need some assistance calculating regular and OT hours by day and week. Anything over 12 hours in a day and over 40 hours in a week. If the hours were already counted as OT for the daily over 12, they should not be counted for the over 40 hours for the respective week. This is an example of a time file that I have. I am looking for 1 summary line by employee that I have bolded below.
The employees don't all work 5 days, or may have multiple rows for one day.
[TABLE="width: 617"]
<tbody>[TR]
[TD]Payroll Name[/TD]
[TD]ee id[/TD]
[TD]pay rate[/TD]
[TD]Pay Date[/TD]
[TD]Hours[/TD]
[TD]Week[/TD]
[TD][/TD]
[TD]Reg[/TD]
[TD]Day OT[/TD]
[TD]Week OT[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/11/2016[/TD]
[TD]6.80[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]6.80[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/12/2016[/TD]
[TD]9.22[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]9.22[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/13/2016[/TD]
[TD]6.07[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]6.07[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/14/2016[/TD]
[TD]5.85[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]5.85[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/15/2016[/TD]
[TD]12.07[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]12.00[/TD]
[TD]0.07[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/18/2016[/TD]
[TD]14.00[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]12.00[/TD]
[TD]2.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/19/2016[/TD]
[TD]8.17[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]8.17[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/20/2016[/TD]
[TD]12.00[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]12.00[/TD]
[TD]0.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/21/2016[/TD]
[TD]16.00[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]12.00[/TD]
[TD]4.00[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]123456[/TD]
[TD]$11.95[/TD]
[TD]01/22/2016[/TD]
[TD]12.02[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]12.00[/TD]
[TD]0.02[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Bi Weekly Total [/TD]
[TD]123456[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]80.00[/TD]
[TD="align: right"]6.08[/TD]
[TD="align: right"]16.17[/TD]
[/TR]
</tbody>[/TABLE]
Any assistance would be appreciated.