Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Entering a number on any sheet one time only paulrm906 Excel Discussion (Misc queries) 4 April 2nd 06 06:16 AM
time sheet Monty Excel Discussion (Misc queries) 1 March 24th 06 10:21 AM
Excel Used as a Time Sheet emanna Excel Discussion (Misc queries) 6 March 2nd 06 05:25 PM
Excel formula for a time sheet HRMSN Excel Worksheet Functions 1 August 10th 05 03:07 PM
Does excel recognise names rather than cells? Sue Excel Worksheet Functions 9 May 22nd 05 04:51 AM


All times are GMT +1. The time now is 03:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"