Forum

Notifications
Clear all

Overlapping times with two criteria

5 Posts
3 Users
0 Reactions
172 Views
(@dejo)
Posts: 5
Active Member
Topic starter
 

HI,

please can somebody help me with formula. 

I would like to filter by one more criteria: meeting room and dates for the same column to check overlap of time ?

=SUMPRODUCT(
([@[Start Time]]<FILTER([End Time];[Meeting Room]=[@[Meeting Room]]))*
([@[End Time]]>FILTER([Start Time];[Meeting Room]=[@[Meeting Room]]))
)>1
 
Thank you in adv.
 
Dates Meeting Room Start Time End Time Overlap
11.pro A 7:30 8:30 FALSE
10.pro B 8:00 9:00 FALSE
9.pro B 10:00 10:30 TRUE
14.pro A 8:30 9:00 FALSE
10.pro B 10:15 12:00 TRUE
9.pro A 9:30 11:00 TRUE
11.pro A 10:30 11:30 TRUE
 
Posted : 12/12/2022 4:39 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Dejan,

Please see this post on identifying overlapping dates and times in Excel.

If you're still stuck, come back and share your file so we can see the problem.

Mynda

 
Posted : 12/12/2022 7:29 pm
(@dejo)
Posts: 5
Active Member
Topic starter
 

Hi Mynda,

still stuck, I have check tutorial but still doesn't now how to use filter with two factor check.

I would like to check overlap time over the Meeting rooms and also to check a dates?

I have attached excel ...

Tnx very much for help.

BR

Dejan

 
Posted : 14/12/2022 12:03 pm
Anders Sehlstedt
(@sehlsan)
Posts: 972
Prominent Member
 

Hello,

Just add the date with the time.

=SUMPRODUCT(
([@[Dates]]+[@[Start Time]]<FILTER([Dates]+[End Time];[Meeting Room]=[@[Meeting Room]]))*
([@[Dates]]+[@[End Time]]>FILTER([Dates]+[Start Time];[Meeting Room]=[@[Meeting Room]]))
)>1

But in your example file the dates column is not part of the table, you need to fix that first.

Br,
Anders

 
Posted : 15/12/2022 2:03 am
(@dejo)
Posts: 5
Active Member
Topic starter
 

Perfect Tnx 😉

 
Posted : 15/12/2022 9:37 am
Share: