IF Function With Multiple Drop Down Selections
I am not sure how to "Nest" if functions for my application or if I need to use the "AND / OR" functions with it.
Essentially, when my field team updates the [Field Status] column I want the appropriate colored circle to update in the [Risk Status] column.
Red = Delayed
Gray = Not Started
Yellow = In Progress
Green = Completed
*Bonus if you can help with this one below.
I would also like the [Risk Status] to automatically become a red circle IF the [EWD] column is past TODAY's date OR if [Field Status] = Not Started AFTER the [SWD] column has passed.
Answers
-
Hey @David Bramer,
I think you'd want it to look something like this:
=IF(OR(EWD@row > TODAY(), [FieldStatus]@row = "Delayed", AND([Field Status]@row = "Not Started", TODAY() >=SWD@row)), "Red", IF([Field Status]@row = "Not Started", "Gray", IF([Field Status]@row = "In Progress", "Yellow", IF([Field Status]@row = "Completed", "Green"))))
Nested IF statements are definitely doable!
If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!
I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!
-
I am not sure why this gives me an unparseable?
-
Thank you very much for the help I had to rework somethings but this formula works:
=IF([Field Status]@row = "Completed", "Green", IF(OR(([Field Status]@row = "Delayed"), (EWD@row < TODAY()), AND(([Field Status]@row <> "In Progress"), (SWD@row < TODAY()))), "Red", IF([Field Status]@row = "Not Started", "Gray", IF([Field Status]@row = "In Progress", "Yellow"))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!