Flag Duplicate
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!
Answers
-
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 = Equipment@row)> 1, 1)
1 means there is an overlap somewhere.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!