webdevptg
Board Regular
- Joined
- May 2, 2019
- Messages
- 51
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
- Web
Hi,
I have a huge listing with about 15000 records of all classes taught by teachers in a school.
Sometimes teachers make a mistake when registering the classes, on the date, or on the time or even the duration, they just don't make a mistake about the teacher's name because it already appears by default
I need to write a formula to show me if there is overlapping or not. In the example below, teacher John Doe is over-allocated on April 16th between 4:00 PM and 5:00 PM, because he has a class starting at 2:00 PM with duration of 3 hours, and have other class starting at 4:00 PM with duration of 2 hours.
In the case of Anne Ericson, she was really lacking in attention, she registered the session 2 times, in the same day, at the same time and duration.
In this way, I want the result to be 1 when there is no over-allocation, in the example where John and Anne are totally or partially in 2 classes the result will be 2, but it can also be 3 or more....
I've already been dealing with countifs, but I'm having difficulty getting it to give me the results for the various scenarios...
Below I leave the image and link to see if you can help me.
Thanks
SAMPLE WORKBOOK
I have a huge listing with about 15000 records of all classes taught by teachers in a school.
Sometimes teachers make a mistake when registering the classes, on the date, or on the time or even the duration, they just don't make a mistake about the teacher's name because it already appears by default
I need to write a formula to show me if there is overlapping or not. In the example below, teacher John Doe is over-allocated on April 16th between 4:00 PM and 5:00 PM, because he has a class starting at 2:00 PM with duration of 3 hours, and have other class starting at 4:00 PM with duration of 2 hours.
In the case of Anne Ericson, she was really lacking in attention, she registered the session 2 times, in the same day, at the same time and duration.
In this way, I want the result to be 1 when there is no over-allocation, in the example where John and Anne are totally or partially in 2 classes the result will be 2, but it can also be 3 or more....
I've already been dealing with countifs, but I'm having difficulty getting it to give me the results for the various scenarios...
Below I leave the image and link to see if you can help me.
Thanks
SAMPLE WORKBOOK