How to have the In Progress status be green when there are no start/end dates
Hello!
I am trying to have the have the status show as green when something is in progress, even if it doesn't have a start or end date. I only want it to turn yellow or green when there are end dates involved. Here is my current formula: =IF(ISBLANK(Complete@row), "", IF(Complete@row = "Not Started", "Gray", IF(Complete@row = "Complete", "Green", IF([End Date]@row <= TODAY(0), "Red", IF([End Date]@row <= TODAY(7), "Yellow", "Green")))))
Best Answer
-
Hey @Alicia D
Will this work for you?
=IF(ISBLANK(Complete@row), "", IF(Complete@row = "Not Started", "Gray", IF(Complete@row = "Complete", "Green", IF(AND([End Date]@row <= TODAY(0), ISDATE([End Date]@row)), "Red", IF(OR(ISBLANK([End Date]@row), ISBLANK([Start Date]@row)), "Green", IF([End Date]@row <= TODAY(7), "Yellow", "Green"))))))
Kelly
Answers
-
Hey @Alicia D
Will this work for you?
=IF(ISBLANK(Complete@row), "", IF(Complete@row = "Not Started", "Gray", IF(Complete@row = "Complete", "Green", IF(AND([End Date]@row <= TODAY(0), ISDATE([End Date]@row)), "Red", IF(OR(ISBLANK([End Date]@row), ISBLANK([Start Date]@row)), "Green", IF([End Date]@row <= TODAY(7), "Yellow", "Green"))))))
Kelly
-
Hello! YES that worked, thank you! Although, now I see that my other column where a flag is indicated is not updating. It is still showing a red flag even though the status is green. Here is my current formula for that one: =IF([Helper at Risk]@row <> 0, IF(AND([End Date]@row <= TODAY(0), Complete@row <> "Complete", Status@row <> ""), 1, 0), IF(COUNTIFS(CHILDREN(), 1) > 0, 1, 0))
Thank you @Kelly Moore !!
-
Hey @Alicia D
Could you share a screenshot of your Helper At Risk column, and it's formula?
But taking a shot in the dark, try this
=IF([Helper at Risk]@row <> 0, IF(AND([End Date]@row <= TODAY(0), Complete@row <> "Complete, OR(Status@row <> "",Status@row<>"Green")), 1, 0), IF(COUNTIFS(CHILDREN(), 1) > 0, 1, 0))
Kelly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 462 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!