How do I set up a formula to get a result when multiple cells match?
LMR65
✭✭
I have two column, one that reads "Sec." and one that reads "Subsec.". I want to color code both sells when more than one Subsec. match each other and so does the Sec.. The data is in the same sheet.
For example, in the screenshot, 1016 (a)(14) has a match and I want those two fields color coded, but I don't want 1202 (a)(14) to be color coded because 1202 is a different Sec.
Answers
-
I would use a helper column with a formula to detect the match, such as =IF(COUNTIFS([Sec.]:[Sec.], [Sec.]@row, [Subsecs.]:[Subsecs.], [Subsecs.]@row) > 1, 1, 0) . Make the helper column checkbox column, and then create a conditional rule based off the helper column that colors those 2 cells when checked.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!