IF statement with multiple values changing symbols
I have a bunch of columns that have different check boxes to signify if certain paperwork is completed. I have figured out how to change values on the symbols by creating an extra switch column for the color dot symbols to appear, when one of the boxes are checked. My issue is, I need to have the colors change as values are added to the smartsheet. My first switch, is when text is submitted, the color changes - signifying red, while there is text, there are about six other check boxes that need to be checked (and I am using IF(OR ) wanting the color to change (green) when any one of the boxes is check marked. When another specific check box is checked - while all the others are checked, I want the symbol to change another color. To top it off, Not matter if all of these fields are full, if another specific box gets check marked, I want the symbol to change (blue). See the IF statement is below.
From my switch column
=IF([ProductName]1 > "", "1", IF(OR([DOC1]1, [DOC2]1, [DOC3]1, [DOC4]1, [DOC5]1, [DOC6]1,) = "true", "2", IF([DELIVERED]1 = "true", "3", IF([On-Hold]1 = "true", "4"))))
I have the Symbol column reading the numbers,
1 - Red
2 - Yellow
3 - Green
4 - Blue
When ProductName is typed, it goes red and will not change colors if any check box is checked; vice versa when everything is blank. I would like the numbers to update when values are added along the way. (4 - Blue) to bypass overwriting all colors. Basically using if, while loops.
Answers
-
Let's try something like this...
=IF([On-Hold]@row = 1, "4", IF([DELIVERED]@row = 1, "2", IF(OR([DOC1]@row = 1, [DOC2]@row = 1, [DOC3]@row = 1, [DOC4]@row = 1, [DOC5]@row = 1, [DOC6]@row = 1), "3", IF([ProductName]@row <> "", "1"))))
-
That is exactly what I was looking for. it works like a champ, thank you!
-
Great. Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!