Calculating differences between dates with variable time frames

Mully86

New Member
Joined
Jul 12, 2011
Messages
6
Hi

Im really stumped. Im trying to calculate the differences between 2 dates with variable hours for each day and round up out of hours times up to the next working time.

For example

Monday - Friday working hours are 07:00 to 18:00
Saturday working hours are 07:00 to 12:00

If a request is made at 09:00 on monday and completed at 15:00 on the same day that fine, but if the request is made at 18:01 on Monday and not completed until 07:30 on Tuesday, I need the time of 18:01 to be rounded up to the next day starting at 07:00.

Also throwing into this the different hours for Saturday as some requests can be put in at 07:00 on Monday and not be completed until 07:00 the following Monday so i need it to take into account the the hours specified for each day and exclude Sundays whilst rounding up anything necessary to the next day.

Help please!!!:confused:
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,223,270
Messages
6,171,102
Members
452,379
Latest member
IainTru

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