Overlaps in Start and Finish dates
Hi
Can someone suggest me a formula that alerts me whenever there are any overlapping Start or Finish dates across ALL the entries that I will receive in my Leaves Management app?
For example, all the leave applications submitted by the user abc@xyz.com must not have any overlapping Start and Finish dates; and if there are any date overlaps, then a formula must alert me about it!
Thanks
Best Answer
-
If you are using a flag type column then you can use something like this:
=IF(COUNTIFS([Email Column Name]:[Email Column Name], @cell = [Email Column Name]@row, [Start Date]:[Start Date], @cell<= [Finish Date]@row, [Finish Date]:[Finish Date], @cell>= [Start Date]@row)> 1, 1)
Answers
-
If you are using a flag type column then you can use something like this:
=IF(COUNTIFS([Email Column Name]:[Email Column Name], @cell = [Email Column Name]@row, [Start Date]:[Start Date], @cell<= [Finish Date]@row, [Finish Date]:[Finish Date], @cell>= [Start Date]@row)> 1, 1)
-
Thanks a ton Paul !! It worked!
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!