Flag Duplicate

11/30/21
Answered - Pending Review

Hi I have a smartsheet that is essentially setup like this:


Start Date End Date Start Time End Time Equipment

10/01/2021 10/01/2021 08:00 10:00 Shovel #1

10/01/2021 10/02/2021 07:00 11:00 Shovel #1


How can I flag for duplicate of the equipment? Essentially, if a row is entered and the same Equipment is being used during the same day and same time, what formula can I write to flag it as a duplicate?


Thanks for any help!

Tags:

Answers

  • Paul NewcomePaul Newcome ✭✭✭✭✭

    You would first need to convert your times into usable number values. HERE is a thread that should help you accomplish that.


    Once you have your times converted, you would use something like this...

    =IF(COUNTIFS([Start Date]:[Start Date], @cell<= [End Date]@row, [ENd Date]:[End Date], @cell>= [Start Date]@row, [Start Time Converted]:[Start Time Converted], @cell<= [End Time Converted]@row, [End Time Converted]:[ENd Time Converted], @cell>= [Start Time Converted]@row, Equipment:Equipment, @cell = [email protected])> 1, 1)


    1 means there is an overlap somewhere.

    thinkspi.com

Sign In or Register to comment.