LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Daniel CHEN
 
Posts: n/a
Default

Assume you have hours filled in Range A1:G1
A1:E1 for Monday to Friday and F1 for Sat and G1 for Sunday.
The calculation of overtime is
=IF(SUM(A1:E1)=40,SUM(A1:G1)-40,IF(SUM(A1:G1)40,SUM(A1:G1)-40,0))
If the total hours for M-F =40, then OT = total hours for all 7 days -
40;
If the total hours for M-F < 40, but for all 7 days 40 then OT = total
hours for all 7 days - 40;
If the total hours for all 7 days <= 40 then OT = 0


===== * ===== * ===== * =====
Daniel CHEN


www.Geocities.com/UDQServices
Free Data Processing Add-in<

===== * ===== * ===== * =====


"ness" wrote in message
...
I have been using the IF formula to calculate everything else on this time
card that I am trying to creat, but in certain instances for CA if a
person
does not meet 40 hours in a M-F workweek, and works on say Saturday the
time
worked on Saturday does not count as OT until the 40 hour threshold is
met.

ie: worked 35 hours M-F, worked 7 hours on Saturday, we need 5 hours to go
into regular hours, and the remaining 2 hours into OT. it gets really
complicated. I'm hoping someone already created a worksheet with all the
formulas and can answer my question.



 
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
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Howdo U copy a formula down a column, that uses data in another w. brantty Excel Worksheet Functions 0 February 25th 05 10:11 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Cell shows formula and not the result of the formula. stumpy1220 Excel Worksheet Functions 2 January 14th 05 05:11 PM
Creating Formula using check boxes Anthony Slater Excel Discussion (Misc queries) 3 January 4th 05 03:03 PM


All times are GMT +1. The time now is 08:55 PM.

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

About Us

"It's about Microsoft Excel"