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.
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!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 209 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 297 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!