Add and Subtracting Time & Date within Defined Ranges

MichaelRSnow

Active Member
Joined
Aug 3, 2010
Messages
409
Hi, I need some help and I don't know where to start with this one?

I'm trying to build a resource plan, tasks take specific amount of time and I want to add or subtract this time to existing times to calculate the date they would be processed on? My date range would have non working days (Saturdays & Sundays and non working hours, 6pm to 8am), is this possible with excel

i.e. If...
Task 1 was scheduled to complete by 5pm on Fri 5th Jan
Task 2 (which had a dependency on Task 1) takes 2 hours, it would complete at 9am on Mon 8th Jan
Task 3 (which had a dependency on Task 2) take 30 minutes, it would complete at 9.30am on Mon 8th Jan

I can create a annual table with working hours and working days which it can lookup, but don't know where to start with the formula?

Table as per below
DAYSTART TIMEFINISH TIME
FRI05/01/2018 00:09:0005/01/2018 00:17:00
SAT06/01/2018 00:00:0006/01/2018 00:00:00
SUN07/01/2018 00:00:0007/01/2018 00:00:00
MON08/01/2018 00:09:0008/01/2018 00:17:00

<tbody>
</tbody><colgroup><col><col><col><col span="2"></colgroup>
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,215,376
Messages
6,124,593
Members
449,174
Latest member
chandan4057

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