Formula for 24hour clock overlap - booking clashes at the same time on the same day

Hello all,

I am hoping someone out there has a smart idea of how to pick up on reservations overlapping within a 24hour time period.

In this instance, there are two people parking in same bay on the same day. Formula I have is:

=COUNTIFS([Date Of Parking]:[Date Of Parking], [Date Of Parking]@row, [Bay Number]:[Bay Number], [Bay Number]@row))

Result here is 2, indicating a clash when in fact it is not a clash because the start / end time do not overlap.

I want to extend this formula / find a different formula / use helper columns / or any other way to register that the start time and end time do not crossover, so therefore this is not a clash.

Many thanks in advance for your time!

Tags:

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!