MrClueless
New Member
- Joined
- May 29, 2013
- Messages
- 8
I currently have a macro that is doing exactly what I need it to do. However I am still doing some Manual work to gather the information I need. I wanted to see if its possible to have a formula sum up the Column: Regular, Overtime and Doubletime hours until it reaches 173 hours. Once it reaches this limit it would sum up corresponding hours in Columns: Regular Rate, Overtime Rate, and Doubletime rate based on the corresponding hours.
Ill use the pasted information below as an example of the manual work I am doing. What I am currently doing is, if in a Month the hours exceed the 173 hour limit ill deduct 173 from the overage amount, in this case 176.25 and multiply the difference of 4.25 by the rate it corresponds to, whether it be regular rate, overtime rate, or doubletime rate. After Ill sum up the columns in Regular Rate, Doubletime Rate, and Overtime Rate based on the Cumulative hours in Column labeled Cumulative which is based on the limit of 173. Im not sure if this is possible and wanted to see if anyone would be able to help.
The following is a sample of what my End Product is
[TABLE="width: 1210"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Day of the Week[/TD]
[TD]Month[/TD]
[TD]Year[/TD]
[TD]Amount[/TD]
[TD]Regular[/TD]
[TD]Overtime[/TD]
[TD]Regular Rate[/TD]
[TD]Overtime Rate[/TD]
[TD]Change[/TD]
[TD]Cumulative[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 1210"]
<colgroup><col span="11"></colgroup><tbody>[TR]
[TD][TABLE="width: 1210"]
<colgroup><col span="11"></colgroup><tbody>[TR]
[TD]07-02-2012[/TD]
[TD]Monday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]9[/TD]
[TD]9[/TD]
[TD]0[/TD]
[TD]2.88[/TD]
[TD]0[/TD]
[TD]2[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]07-03-2012[/TD]
[TD]Tuesday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]9[/TD]
[TD]9[/TD]
[TD]0[/TD]
[TD]2.88[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]07-05-2012[/TD]
[TD]Thursday[/TD]
[TD]July[/TD]
[TD]2012[/T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012[/TD]
[TD]7.5[/TD]
[TD]7.5[/TD]
[TD]0[/TD]
[TD]2.4[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]133[/TD]
[/TR]
[TR]
[TD]07-24-2012[/TD]
[TD]Tuesday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]7.25[/TD]
[TD]7.25[/TD]
[TD]0[/TD]
[TD]2.32[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]140.25[/TD]
[/TR]
[TR]
[TD]07-25-2012[/TD]
[TD]Wednesday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]6[/TD]
[TD]6[/TD]
[TD]0[/TD]
[TD]1.92[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]146.25[/TD]
[/TR]
[TR]
[TD]07-26-2012[/TD]
[TD]Thursday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]7.5[/TD]
[TD]7.5[/TD]
[TD]0[/TD]
[TD]2.4[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]153.75[/TD]
[/TR]
[TR]
[TD]07-27-2012[/TD]
[TD]Friday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]7.5[/TD]
[TD]7.5[/TD]
[TD]0[/TD]
[TD]2.4[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]161.25[/TD]
[/TR]
[TR]
[TD]07-30-2012[/TD]
[TD]Monday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]7.5[/TD]
[TD]7.5[/TD]
[TD]0[/TD]
[TD]2.4[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]168.75[/TD]
[/TR]
[TR]
[TD]07-31-2012[/TD]
[TD]Tuesday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]7.5[/TD]
[TD]7.5[/TD]
[TD]0[/TD]
[TD]2.4[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]176.25[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Ill use the pasted information below as an example of the manual work I am doing. What I am currently doing is, if in a Month the hours exceed the 173 hour limit ill deduct 173 from the overage amount, in this case 176.25 and multiply the difference of 4.25 by the rate it corresponds to, whether it be regular rate, overtime rate, or doubletime rate. After Ill sum up the columns in Regular Rate, Doubletime Rate, and Overtime Rate based on the Cumulative hours in Column labeled Cumulative which is based on the limit of 173. Im not sure if this is possible and wanted to see if anyone would be able to help.
The following is a sample of what my End Product is
[TABLE="width: 1210"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Day of the Week[/TD]
[TD]Month[/TD]
[TD]Year[/TD]
[TD]Amount[/TD]
[TD]Regular[/TD]
[TD]Overtime[/TD]
[TD]Regular Rate[/TD]
[TD]Overtime Rate[/TD]
[TD]Change[/TD]
[TD]Cumulative[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 1210"]
<colgroup><col span="11"></colgroup><tbody>[TR]
[TD][TABLE="width: 1210"]
<colgroup><col span="11"></colgroup><tbody>[TR]
[TD]07-02-2012[/TD]
[TD]Monday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]9[/TD]
[TD]9[/TD]
[TD]0[/TD]
[TD]2.88[/TD]
[TD]0[/TD]
[TD]2[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]07-03-2012[/TD]
[TD]Tuesday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]9[/TD]
[TD]9[/TD]
[TD]0[/TD]
[TD]2.88[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]18[/TD]
[/TR]
[TR]
[TD]07-05-2012[/TD]
[TD]Thursday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]8.5[/TD]
[TD]8.5[/TD]
[TD]0[/TD]
[TD]2.72[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]26.5[/TD]
[/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[/TR]
[TR]
[TD]07-24-2012[/TD]
[TD]Tuesday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]7.25[/TD]
[TD]7.25[/TD]
[TD]0[/TD]
[TD]2.32[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]140.25[/TD]
[/TR]
[TR]
[TD]07-25-2012[/TD]
[TD]Wednesday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]6[/TD]
[TD]6[/TD]
[TD]0[/TD]
[TD]1.92[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]146.25[/TD]
[/TR]
[TR]
[TD]07-26-2012[/TD]
[TD]Thursday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]7.5[/TD]
[TD]7.5[/TD]
[TD]0[/TD]
[TD]2.4[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]153.75[/TD]
[/TR]
[TR]
[TD]07-27-2012[/TD]
[TD]Friday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]7.5[/TD]
[TD]7.5[/TD]
[TD]0[/TD]
[TD]2.4[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]161.25[/TD]
[/TR]
[TR]
[TD]07-30-2012[/TD]
[TD]Monday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]7.5[/TD]
[TD]7.5[/TD]
[TD]0[/TD]
[TD]2.4[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]168.75[/TD]
[/TR]
[TR]
[TD]07-31-2012[/TD]
[TD]Tuesday[/TD]
[TD]July[/TD]
[TD]2012[/TD]
[TD]7.5[/TD]
[TD]7.5[/TD]
[TD]0[/TD]
[TD]2.4[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]176.25[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]