ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Employee Time Sheet (https://www.excelbanter.com/excel-worksheet-functions/116506-employee-time-sheet.html)

suntzu

Employee Time Sheet
 
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

Employee Time Sheet
 
Regular Hours:
=MIN(SUM(A1:A4),40)

Overtime hours:
=MAX(0,SUM(A1:A4)-40)


"suntzu" wrote:

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.


Biff

Employee Time Sheet
 
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

"suntzu" wrote in message
...
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.





All times are GMT +1. The time now is 12:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com