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
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!