• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Overlapping times with two criteria|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Overlapping times with two criteria|General Excel Questions & Answers|Excel Forum|My Online Training Hub

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Overlapping times with two criteria
sp_PrintTopic sp_TopicIcon
Overlapping times with two criteria
Avatar
Dejan Kumpar

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
December 11, 2022
sp_UserOfflineSmall Offline
1
December 12, 2022 - 6:39 am
sp_Permalink sp_Print sp_EditHistory

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
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4352
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
December 12, 2022 - 9:29 am
sp_Permalink sp_Print

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

Avatar
Dejan Kumpar

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
December 11, 2022
sp_UserOfflineSmall Offline
3
December 14, 2022 - 2:03 am
sp_Permalink sp_Print

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

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 845
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
4
December 14, 2022 - 4:03 pm
sp_Permalink sp_Print

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

Avatar
Dejan Kumpar

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
December 11, 2022
sp_UserOfflineSmall Offline
5
December 14, 2022 - 11:37 pm
sp_Permalink sp_Print

Perfect Tnx 😉

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 170
Currently Online: Ivan Kulubya, Vijay Vardhan
Guest(s) 88
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1431
Anders Sehlstedt: 845
Velouria: 574
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 213
A.Maurizio: 202
Aye Mu: 201
Jessica Stewart: 185
Newest Members:
Vicky Otosnika
Abhishek Singh
Kevin Sojourner
Kara Weiss
And Woox
Armani Quenga
moshood bello
annelies b
James1989
lucy gilmour
Forum Stats:
Groups: 3
Forums: 24
Topics: 6045
Posts: 26523

 

Member Stats:
Guest Posters: 49
Members: 31492
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Riny van Eekelen
© Simple:Press —sp_Information
  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
 
  • About My Online Training Hub
  • Contact
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Copyright © 2023 · My Online Training Hub · All Rights Reserved

Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.

Download A Free Copy of 100 Excel Tips & Tricks

excel tips and tricks ebook

We respect your privacy. We won’t spam you.

x