How to use Conditional Formatting for duplicate values in a Column
I have a simple Smartsheet for re-ordering. The user scans the UPC of the item they need reordered. I'd like to setup a conditional format to highlight a cell if the UPC that is being added is already in the sheet. I can do this in Excel, having a hard time figuring it out in Smartsheet.
Answers
-
You'll need a helper column with a formula in it to flag rows with duplicates.
=IF(COUNTIFS(UPC:UPC, @cell = UPC@row) > 1, 1)
Then you would build your conditional formatting off of this helper column.
-
Thank you! This works, but if the value is removed due it being a duplicate (which is what I want) the cell says colored. Is there anyway around this?
-
It shouldn't. I have noticed in a few of my sheets that conditional formatting is running a bit slow today. Try giving it a minute and then refreshing your browser.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!