simple formula help plz

FCI2sue

New Member
Joined
Aug 4, 2015
Messages
13
Hello
Need help with a formula that will return breakdown of weekly hours worked as Regular ( 40 hrs) and OT ( result of hours worked over 40)
But if worked less than 40 hours - then show actual hrs worked
and if no OT wasn't worked, then show a result of '0'
Thanks in advance for your help !

Sep-18
RegOT
CEASARMTWTFSS
wk 1000000009/1 - 9/2
wk 2 10.1511.689.38.58039.719/3 - 9/9`
wk 3 10.439.689.8859.2 39.1959/10 -9/16
wk 4
09/17 - 9/23
wk 5 09/24 - 9/30
78.905
<colgroup><col width="64" style="width: 48pt;" span="13"> <tbody> </tbody>
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Let's say that the days are in the cells B3-H3.

Then the regular hours would be:
=MIN(SUM(B3:H3),40)

and the overtime hours would be:
=MAX(SUM(B3:H3)-40,0)
 
Upvote 0
You are welcome!
Glad I was able to help.:)
 
Upvote 0

Forum statistics

Threads
1,215,540
Messages
6,125,405
Members
449,223
Latest member
Narrian

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