Need to highlight duplicates in two columns?
I need to highlight any duplicates in two separate columns.
Such as below screen shot: Need all # highlighted that are in Unit # column and the Asset on Rent Data. Its easy in excel, but can't figure it out on Smart Sheets.
Answers
-
To mimic the Highlight Duplicates Functionality in excel I use a Checkbox Column Formula & a Cond. Formatting Rule (2nd Image). In this case I just used 2 checkboxes & 2 format rules
Unit # Dupe formula:=IF(COUNTIF([Asset on Rent Data]:[Asset on Rent Data], [Unit #]@row) > 0, 1, 0)
This looks at the entire Asset on Rent Data column and checks the box if the value in Unit # shows up in that column.
Asset Dupe formula:
=IF(COUNTIF([Unit #]:[Unit #], [Asset on Rent Data]@row) > 0, 1, 0)
Just inverse the range & cell we are checking against here. Then 2 rules, if Unit# Dupe is checked, make Unit # column red & vice versa for Asset Dupe.
Larry Cummings
https://primeconsulting.com/
Principal Consultant | Prime Consulting Group
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!