Nested if RYG
I am trying to write the easiest "if" statement and It will not work.... All I am trying to is the following:
Red if the "action due date" is in the past and the "Status 2" is either Open, In Planning, In Testing, Monitoring.
Yellow if he "action due date" is Today and the "Status 2" is either Open, In Planning, In Testing, Monitoring.
Green for everything else
Answers
-
=IF(AND(([Date 1]@row < TODAY()), (OR([Status 2]@row = "OPEN", [Status 2]@row = "In Planning", [Status 2]@row = "In Testing"))), "Red", IF(AND(([Date 1]@row = TODAY()), (OR([Status 2]@row = "OPEN", [Status 2]@row = "In Planning", [Status 2]@row = "In Testing"))), "Yellow", "Green"))
... seems to work ... (I don't think I have nested ORs inside an AND before, at least not in SmartSheet)
Btw, the colours needed to be lower case or the symbols/bubbles didn't appear.
dm
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- 10.6K Get Help
- 63 Global Discussions
- 68 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!