Date Range Overlap

I am looking for assistance with flagging an overlap of two date ranges. I've read through other articles and cannot seem to figure it out. I need to flag B date ranges if overlapping with E date ranges.
Answers
-
Hi @cicconebeth
Try this:
=IF(OR(COUNTIFS([E-START DATE]:[E-START DATE], @cell <= [B-START DATE]@row, [E-END DATE]:[E-END DATE], @cell >= [B-START DATE]@row) > 0, COUNTIFS([E-START DATE]:[E-START DATE], @cell >= [B-START DATE]@row, [E-START DATE]:[E-START DATE], @cell <= [B-END DATE]@row) > 0), 1, 0)
This checks to see if the B start date is less than a date in the E Start Date Column while also being greater than the E End Date (meaning the Start date falls somewhere in an E Date range).
OR if one of the E ranges falls within the B dates (for example the last row with Jan 1st - Mar 31st). This checks if any of the E Start dates are within the B range.
Let me know if this formula is what you were looking to do!
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 448 Global Discussions
- 154 Industry Talk
- 504 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 513 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives