Nested IF/AND formula
I am new to smartsheets and I am having a hard time with a formula, hopefully someone can help me.
I am trying to create a formula that will indicate the status of a task based on the following condition:
- whether the task is completed or action is required
- whether the task is at risk or not
To conclude this is what I want:
1. At risk + Action Required = Red
2. At risk + No action required = Red
3. risk is blank + action required = Yellow
4. risk is blank + completed = Green
The risk column is either empty or has values that say yes.
The notes column states either completed or action is required.
Below is the formula I have, but I get #unparseable. Any help is very much appreciated.
=IF(AND(Risk2 = "Yes", Notes2 = "Action Required"), "Red", "Yellow")IF(AND(ISBLANK(Risk)2, Note2 = "Completed"), "Green", "Yellow"))
Comments
-
Here is one way to do it:
=IF(ISBLANK(Risk2), IF(Notes2 = "Completed", "Green", "Yellow"), "Red")
Risk is not blank = Red
Risk is Blank/Notes is Completed = Green
Risk is Blank/Notes is anything but Completed = Yellow
-
Thank you so much! I would have never figured this one out. I kept using IF AND nested formula.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!