Timetable Clash in Excel

delulytric

New Member
Joined
Mar 15, 2019
Messages
4
Hi, I've the following (simplified) table below:

TitleStartDateEndDateStudent
A
21/12/2020 9:00​
23/12/2020 14:00​
A
B
13/1/2021 9:00
14/1/2021 14:00
B
C
24/11/2020 9:00​
27/11/2020 17:00​
A
D
14/1/2021 9:00
16/1/2021 14:00
B
E
7/1/2021 9:00
8/1/2021 15:00
A
F
6/1/2021 9:00
7/1/2021 14:00
A
G
1/12/2020 9:00​
3/12/2020 14:00​
B

I know this question has been asked a few times, but when I tried implementing the code it wasn't smooth for me.

The actual table I'm trying to implement comes in the form of a PivotTable, with many different titles as the row header (1 title can have multiple students), and many students attending the course. But I figured that it could be simplified into a timetable clash check for any particular user.

In this case, I'd like the result to be highlighted in Red since both student A and student B have course clashes in between.

Any help would be appreciated. Thank you!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,216,499
Messages
6,131,010
Members
449,613
Latest member
MedDash99

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