Overlaps in Start and Finish dates

Nasir@EBC
Nasir@EBC ✭✭✭
edited 09/26/22 in Formulas and Functions

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

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    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)

    Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!

    CERTIFIED SMARTSHEET PLATINUM PARTNER

    10xViz.com

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!