Working out Overtime

ifanew

New Member
Joined
Aug 24, 2011
Messages
2
Hi

I'm trying to express the number of overtime hours into the number of work days but am bogged down in time formats and formulas and getting nowhere.

The example I'm trying to work with is a figure of 90 hours which I want broken down in to the number of work days (plus additional hours and minutes) given that a work day has a value of 7 hours 24 minutes. I know that the result I should be getting is 12 days (of 7h24m) and 1h 12m remainder.

When I started I though it would be simple, and it probably is, but at the moment it's just boiling my brain.

Any ideas would be very welcome.

Thanks
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
If you format your value for total overtime hours as General what number does it give you?
 
Upvote 0
if the total o/t hours is in A1 then the days is ROUNDDOWN((A1/24)/((7/24)+(1/60)),0)
and the hours ROUNDDOWN(24*MOD((A1/24)/((7/24)+(1/60)),1)*((7/24)+(1/60)),0)
and the minutes MOD(24*MOD((A1/24)/((7/24)+(1/60)),1)*((7/24)+(1/60)),1)*60

These can all be simplified. I Left all the factors in to show the calcs - all based on 1/24 being 1 hour, and 1/24/60 being one minute
 
Upvote 0
Absolutely brilliant just what I was after, many thanks Konew, now all I need to do is understand it. :biggrin:
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,848
Members
452,948
Latest member
UsmanAli786

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