Automating RGYB Balls With Date Ranges
I want the status balls to automatically update based on the due date - but I also want the status to go blue after the "Item Completed" column is checked.
Ie.
If End Date is in the past, or due within the next week = Red
If End Date is Due within the two weeks = Yellow
If end Date is Due in three weeks or more = Green
If "Item Complete" is Checked = Blue
I currently have a working formula, but it is only based on past, today, and future - not on date ranges. (See image.)
Comments
-
Try this one:
It's written for row 23, so adjust the row number as needed. I changed the requirements of Green so that if its less than the criteria for yellow, then it will display green. Let me know if it works.
=If([Item Complete]23 = 1, then "Blue", IF([End Date]23 >= Today(-7), "Red", IF([End Date]23 >=Today(-14), "Yellow", IF([End Date]23 <=Today(-14), "Green"))))
-
Mike, Thanks for your help! I'm getting an unparseable error.
I had changed a column name since my post yesterday, but I changed it back to match the formula.
-
Actually, Mike. It works perfectly! There was a "then" that I had to remove from the formula. However, I have discovered that I need one more command.
IF End Date is blank, then red. I tried using "ISBLANK", but got an unparseable error.
-
Whoops. I see that then in there... Try this one: U added an OR statement.
=If([Item Complete]23 = 1, "Blue", IF(OR(ISBLANK([End Date]23), [End Date]23 >= Today(-7)), "Red", IF([End Date]23 >=Today(-14), "Yellow", IF([End Date]23 <=Today(-14), "Green"))))
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!