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
- 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!