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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,216,458
Messages
6,130,757
Members
449,588
Latest member
accountant606

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