Multiple Values in One Column to RYG Balls
Hi all,
Thanks in advance for any help you may be able to lend. I am working on a formula where I have several different values in one column that would correspond to different balls.
Not Eligible, Not in Scope, Completed = Green
Not Started, Request Submitted, Demo Scheduled, Cancelled, TBD = Grey
Pending Assessment, Assessment Scheduled, Pending Remediation = Yellow
On Hold = Red
no value selected in column = Blank
So far, I have this, but I get errors whenever I try to enter anything else to correspond to another color ball. I could use some help sorting it out as the Nested IF's are a bit daunting.
=IF(OR([Status - Security Testing]@row = "Not Eligible", [Status - Security Testing]@row = "Not in Scope", [Status - Security Testing]@row = "Completed"), "Green")
Best Answer
-
Nested if formula is always confusing. For me, it's easier if I have each IF formula separate then join them together. This minimizes the error...
Below is the formula:
=IF(OR([Status - Security Testing]@row = "Not Eligible", [Status - Security Testing]@row = "Not in Scope", [Status - Security Testing]@row = "Completed"), "Green", IF(OR([Status - Security Testing]@row = "Not Started", [Status - Security Testing]@row = "Request Submitted", [Status - Security Testing]@row = "Demo Scheduled", [Status - Security Testing]@row = "Cancelled", [Status - Security Testing]@row = "TBD"), "Gray", IF(OR([Status - Security Testing]@row = "Pending Assessment", [Status - Security Testing]@row = "Assessment Scheduled", [Status - Security Testing]@row = "Pending Remediation"), "Yellow", IF([Status - Security Testing]@row = "On Hold", "Red"))))
Answers
-
Nested if formula is always confusing. For me, it's easier if I have each IF formula separate then join them together. This minimizes the error...
Below is the formula:
=IF(OR([Status - Security Testing]@row = "Not Eligible", [Status - Security Testing]@row = "Not in Scope", [Status - Security Testing]@row = "Completed"), "Green", IF(OR([Status - Security Testing]@row = "Not Started", [Status - Security Testing]@row = "Request Submitted", [Status - Security Testing]@row = "Demo Scheduled", [Status - Security Testing]@row = "Cancelled", [Status - Security Testing]@row = "TBD"), "Gray", IF(OR([Status - Security Testing]@row = "Pending Assessment", [Status - Security Testing]@row = "Assessment Scheduled", [Status - Security Testing]@row = "Pending Remediation"), "Yellow", IF([Status - Security Testing]@row = "On Hold", "Red"))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!