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
- 10.8K Get Help
- 65 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!