Conditional Formatting To Red out a Row, if ID# has been used before
Hi all,
I am trying to create a conditional formatting to mark a row Red if the ID# has been used before. I have plenty of conditional formatting experience however I just can't seem to figure this part out. Basically in a list of projects I.e 1,2,3,4,5 they move at different speeds and sometimes a project wont be on a newer sheet so numbering can get confusing. If a 2nd project were to be added as project 4, I would want both to go red so I know to update 1 of them.
Answers
-
You may need a helper column to count duplicates and base your conditional formatting on that column.
=IF(COUNTIF([ID#]:[ID#], [ID#]@row) > 1, 1, 0)
Where the formula returns "1" there is a duplicate.
You could change it to use text if you prefer.
=IF(COUNTIF([ID#]:[ID#], [ID#]@row) > 1, "DUP", "OK")
Hope this helps!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!