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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!