Calculate the total overlapping time of multiple tasks, excluding non-working times


Ryan A

I am developing a tracking calculator for an overall process. Within th
overall process, there are 3 steps which are completed. These steps ca
be completed independently from one another, but can also (sometimes

I am trying to determine the total time for the overall process (fro
beginning to end), without counting the duplicated times where th
steps are running parallel to one another, or times when some steps ma
be completed and are waiting for another to start.

I have outlined the basic design of the worksheet below, with times i
mm/dd/yyyy hh:mm format.

Step 1 Start Time (B5) Complete (C5)
Step 2 Start Time (B6) Complete (C6)
Step 3 Start Time (B7) Complete (B8)

I have already accounted for the total working hours (9am to 5pm) fo
each individual step, counting only work hours, excluding holidays an
weekends, using the formula below (example of step 2, which would be i
Cell D6):


The problem is, I cannot find a way to account for the TOTAL time
which will calculate the overlapped time, or holding times betwee

An example of my dilema:

If step 1 starts at 5/14/2010 4:00 pm and ends 5/17/2010 12:00 pm - th
step took a total of 5 working hours.

If Step 2 starts at 5/14/2010 3:00 pm and ends 5/17/2010 2:00 pm - th
step takes a total of 7 working hours.

If Step 3 starts at 5/17/2010 4:00 pm and ends 5/18/2010 10:00 am - th
step takes a total of 2 working hours.

Total for all three steps would be 14 working hours. What I need is
formula that will also look at the times for overlaps, gaps, and giv
me a result that would indicate took a total of non-duplicate workin
hours, which would be 9.

I would use a MIN/MAX function, factoring in the NETWORKDAYS, but ther
are sometimes when there are gaps between the steps. For instance, th
example above shows a hold time between steps 1&2, and step 3 (2 hour
of no work being done.)

This may not be possible in Excel, but I thought I would reach out t
see if anyone can provide some assistance.

Thank you

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question