I am trying to create a Employee time sheet & I need to figure out the
overtime and break it down. Ex:when I add
A1+A2+A3+A4 = 43 (12+12+12+7): however. out of the 7 i only need 4 to
complete the fourty the rest is over time, so in the cell I need to show the
4 not the 7. and the 3 would be placed in the overtime cell. can some help me
create the formula for this.
JMB - 28 Oct 2006 07:03 GMT
Regular Hours:
=MIN(SUM(A1:A4),40)
Overtime hours:
=MAX(0,SUM(A1:A4)-40)
> I am trying to create a Employee time sheet & I need to figure out the
> overtime and break it down. Ex:when I add
[quoted text clipped - 3 lines]
> 4 not the 7. and the 3 would be placed in the overtime cell. can some help me
> create the formula for this.
Biff - 28 Oct 2006 07:21 GMT
Try this for a breakdown. Assume you have this setup:
............A............B............C............D
1........Date......Hours.......Reg.........OT
2........Mon........12..............................
3........Tue..........12.............................
4........Wed........12.............................
5........Thu...........7..............................
6.........Fri............................................
7.........Sat...........................................
9.........Sun...........................................
Enter this formula in C2 and copy down to C8:
=(B2<>"")*MIN(40-SUM(C$1:C1),B2)
Enter this formula in D2 and copy down to D8:
=B2-C2
Biff
>I am trying to create a Employee time sheet & I need to figure out the
> overtime and break it down. Ex:when I add
[quoted text clipped - 5 lines]
> me
> create the formula for this.