Formula with Symbols
Hi Smartsheet friends,
I would like to use the red/yellow/green symbols, and need some assistance with the formula
I have a series of checkbox columns; each column represents a task.
When all are checked (true) = green
When some are checked = yellow
When none are checked = red
Thank you!
Donna
Answers
-
Hi @TolerDo,
You can use a nested IF & COUNTIF formula.
In this example you have 3 checkbox columns "Check 1", "Check 2", "Check 3" adjacent to one another.
In your RGY symbol column:
=IF(COUNTIF([Check 1]@row:[Check 3]@row, 1) = 3, "Green", IF(COUNTIF([Check 1]@row:[Check 3]@row, 0) = 3, "Red", "Yellow"))
This checks if they're either all ticked (in which case, the symbol is green), none of them are (symbol is red) and if somewhere in between then yellow.
Sample:
If your columns are not adjacent then you can adjust the formula to do similar, it'd just be like this:
=IF(COUNTIF([Check 1]@row, 1) + COUNTIF([Check 2]@row, 1) + COUNTIF([Check 3]@row, 1) = 3, "Green", IF(COUNTIF([Check 1]@row, 1) + COUNTIF([Check 2]@row, 1) + COUNTIF([Check 3]@row, 1) = 0, "Red", "Yellow"))
Hope this helps point you in the right direction, but if you've any problems/questions then just post! 🙂
-
Thanks! I will give this a go!
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