Flagging Duplicate Values
Searching through community I found a way to have flags for duplicate values - however, it seems that this formula is not working as I'd hope.
=IF(COUNTIFS(SKU:SKU, SKU@row) > 1, 1)
I don't get an error - it just doesn't check the box. As you can see, there IS a duplicate value in SKU.
Best Answer
-
Hi @bmccaslin,
I recreated and tested, and found this to work:
=IF(COUNTIF(SKU:SKU, @cell = SKU@row) > 1, 1, 0)
Hope this helps!
BRgds,
-Ray
Answers
-
Looks like the duplicates are working, but NOT where I have a leading 0. How do I get these to work as well?
-
Based off another forum - I've modified my formula to this:
=IF(COUNTIF(SKU$1:SKU@row, @cell = SKU@row) > 1, 1, 0)
Which DOES allow for the leading 0 to be accounted for (because SmartSheet adds a ' before the 0 to make it text). Now though, I cannot make the formula a column formula. States that the syntax is not quite right. Help!!!
-
Hi @bmccaslin,
I recreated and tested, and found this to work:
=IF(COUNTIF(SKU:SKU, @cell = SKU@row) > 1, 1, 0)
Hope this helps!
BRgds,
-Ray
-
Ah that worked!!! And I was able to convert to a column formula. Awesome!! Thank you much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.3K Get Help
- 462 Global Discussions
- 156 Industry Talk
- 508 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 517 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!