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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!