Identifying Time Overlaps

GG58975

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

COURSE
START TIME
END TIME
Conflict
Module 228/01/2019 16:0028/01/2019 18:00TRUE
Module 513/02/2019 09:0013/02/2019 12:00FALSE
Module 610/10/2019 09:0010/10/2019 17:00FALSE
Module 1028/01/2019 16:0028/01/2019 17:00TRUE

<tbody>
</tbody>

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

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,213,568
Messages
6,114,348
Members
448,570
Latest member
rik81h

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