Calculating overlap times between two sets of time stamps for different sets of dates

phrozen888

New Member
Joined
May 24, 2016
Messages
1
Hello,

This is my first post on this forum and I am at a complete loss of how to proceed with calculating this.

I have two sets of data (#1) and (#2) with their own respective start and end date/time stamps. For example:
Start time (#1)End time (#1)Start time (#2)End time (#2)Overlap time (hh:mm)
1/4/16 1:56 PM

<tbody>
</tbody><colgroup><col></colgroup>
1/4/16 1:57 PM

<tbody>
</tbody><colgroup><col></colgroup>
1/4/16 1:21 PM

<tbody>
</tbody><colgroup><col></colgroup>
1/4/16 3:37 PM

<tbody>
</tbody><colgroup><col></colgroup>
0:01
2/4/16 12:36 PM

<tbody>
</tbody><colgroup><col></colgroup>
2/4/16 12:59 PM

<tbody>
</tbody><colgroup><col></colgroup>
2/4/16 12:27 PM

<tbody>
</tbody><colgroup><col></colgroup>
2/4/16 12:40 PM

<tbody>
</tbody><colgroup><col></colgroup>
0:13
3/12/16 9:20 AM

<tbody>
</tbody><colgroup><col></colgroup>

<tbody>
</tbody><colgroup><col></colgroup>
3/12/16 10:22 AM

<tbody>
</tbody><colgroup><col></colgroup>

<tbody>
</tbody><colgroup><col></colgroup>
3/3/16 2:32 PM

<tbody>
</tbody><colgroup><col></colgroup>
3/3/16 2:53 PM

<tbody>
</tbody><colgroup><col></colgroup>
0
--
3/4/16 10:09 AM

<tbody>
</tbody><colgroup><col></colgroup>
3/4/16 10:41 AM

<tbody>
</tbody><colgroup><col></colgroup>
0
--
3/12/16 9:03 AM

<tbody>
</tbody><colgroup><col></colgroup>
3/12/16 11:38 AM

<tbody>
</tbody><colgroup><col></colgroup>
1:02

<tbody>
</tbody>

So the two sets of data are different in list size, for example #1 has 3 entries, #2 has 5 entries.

What I want to figure out is, for each start/end in list #1, how long is that duration overlapped in any entry in list #2?

Thanks in advance!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,215,487
Messages
6,125,073
Members
449,205
Latest member
Healthydogs

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