Timesheet - Hour +/-

JAGTOO

New Member
Joined
Oct 9, 2017
Messages
2
Hi i have this table for a timesheet with the following formula:


HIJK
Day In OutFormula OT 25%OT 25%Formula OT 50%OT 50%
1817=SI(I3>=19.1,"3",(I3-H3-9))0=(I3-H3-9-J3)0
2819=SI(I3>=19.1,"3",(I3-H3-9))2=(I3-H3-9-J3)0
3821=SI(I3>=19.1,"3",(I3-H3-9))2=(I3-H3-9-J3)2
4816=SI(I3>=19.1,"3",(I3-H3-9))-1=(I3-H3-9-J3)0
5818.5=SI(I3>=19.1,"3",(I3-H3-9))1.5=(I3-H3-9-J3)0
Total HE 25%5.5Total HE 50%2

<tbody>
</tbody>



It worked fine because it didn´t work with hour format, but know they want something more complex. I don't have much expirience with Excel and I've been trying to change the formula to reflect hour format with no results please help. The table should look something like this.

HIJK
DayInOutFormula OT 25%OT 25%Formula OT 50%OT 50%
18:0017:0000
28:0019:0020
38:0021:0022
48:0016:00-10
58:0018:301:300
68:1517:00-0:150
78:4017:00-0:400
88:0022:2023:20
Total OT 25%7:30Total OT 50%5:20
Total T Deduct1:55

<tbody>
</tbody>


Total OT 25% Should only reflect the positive values in colum J
Total OT 50% Should also refelect the positive values in colum K
Total T Deduct Should only reflect the negative values in colum J

Thanks in advance for your help!!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
You need to explain the rules for overtime.

It looks like (correct me if Im wrong - thats why you need to explain it)

the working day is 0800-1700
The first 2 hours are paid at 25%
Any hours over that time are paid at 50%

However, your formula for Day 3 looks wrong
In time is 8 Out time is 21, that's greater than 19.1 so it should return 3 but your values are 2 and 2 in columns J and K ??????


Is this correct?
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,939
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top