Identifying Time Overlaps

GG58975

New Member
Joined
Dec 11, 2018
Messages
3
I have a large data set that looks like this:

[TABLE="width: 500"]
<tbody>[TR]
[TD]COURSE
[/TD]
[TD]START TIME
[/TD]
[TD]END TIME
[/TD]
[TD]Conflict[/TD]
[/TR]
[TR]
[TD]Module 2[/TD]
[TD]28/01/2019 16:00[/TD]
[TD]28/01/2019 18:00[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]Module 5[/TD]
[TD]13/02/2019 09:00[/TD]
[TD]13/02/2019 12:00[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]Module 6[/TD]
[TD]10/10/2019 09:00[/TD]
[TD]10/10/2019 17:00[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]Module 10[/TD]
[TD]28/01/2019 16:00[/TD]
[TD]28/01/2019 17:00[/TD]
[TD]TRUE[/TD]
[/TR]
</tbody>[/TABLE]

What I need to do is check for overlaps in event times so that I can collate a list of incompatible courses. I found the formula below online which appears to be correctly flagging up courses that have time overlaps with other rows in the dataset:

=SUMPRODUCT((B2<enddate)*(c2>=STARTDATE))>1

What I still need to do is identify which courses are overlapping, so ideally my spreadsheet would look like this:

COURSE
START TIME
END TIME
CONFLICT
Module 1028/01/2019 16:0028/01/2019 17:00Module 2

<tbody>
</tbody>

I'm completely stuck on this. Is there any formula you can suggest? I'm also open to the idea of that I have went about this in the wrong way to begin with and there's a much simpler solution to be found.

Thanks so much.</enddate)*(c2>
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,617
Latest member
Narendra Babu D

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