Red, Yellow and Green Countdown forumula
I would like to add Red, Yellow and Green to help visualize how many days until the event has been closed.
Best Answer
-
It's the column names. Having the parenthesis in the column name threw me off a little. My apologies.
Try this...
=IF(AND(TODAY() <= [Closed Date (35 days after End Date)]@row, TODAY() >= [Closed Date (35 days after End Date)]@row - 5), "Red", IF(AND(TODAY() <= [Closed Date (35 days after End Date)]@row - 10, TODAY() >= [Closed Date (35 days after End Date)]@row - 20), "Yellow", IF(AND(TODAY() <= [Closed Date (35 days after End Date)]@row - 21, TODAY() >= [Closed Date (35 days after End Date)]@row - 34), "Green")))
Answers
-
You could create a formula that would look at two date fields and conditional render a status next to the field that you want to highlight as shown above.
Something like if Field B - Field A < 35, red
Ryan
-
I already have a formula under Closed date:
= [Closed Date] - [End Date] <35, red
-
Trying to have a red, yellow or green symbol in the middle column. Is this possible?
-
Of course it is. Just make the column of type symbol and then add your if statements.
If you're stuck, just share the grid with me - ryan@dynamicduo.io
Ryan
-
Try something like this...
=IF(AND(TODAY() <= [Closed Date (35 days after End Date]@row, TODAY() >= [Closed Date (35 days after End Date]@row - 5), "Red", IF(AND(TODAY() <= [Closed Date (35 days after End Date]@row - 10, TODAY() >= [Closed Date (35 days after End Date]@row - 20), "Yellow", IF(AND(TODAY() <= [Closed Date (35 days after End Date]@row - 21, TODAY() >= [Closed Date (35 days after End Date]@row - 34), "Green")))
-
@Paul Newcome and @Ryan Kramer ,
I must be missing a step. I copied Paul's formula above and it did not work. Any suggestions?
-
It can be difficult to debug it this way. I would take the first IF condition and then verify that works, and add them on sequentially.
Ryan
-
It's the column names. Having the parenthesis in the column name threw me off a little. My apologies.
Try this...
=IF(AND(TODAY() <= [Closed Date (35 days after End Date)]@row, TODAY() >= [Closed Date (35 days after End Date)]@row - 5), "Red", IF(AND(TODAY() <= [Closed Date (35 days after End Date)]@row - 10, TODAY() >= [Closed Date (35 days after End Date)]@row - 20), "Yellow", IF(AND(TODAY() <= [Closed Date (35 days after End Date)]@row - 21, TODAY() >= [Closed Date (35 days after End Date)]@row - 34), "Green")))
-
That worked @Ryan Kramer . Thank you bunches. I have a meeting in 15 minutes and was hoping to show this formula with the presentation.
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.3K Get Help
- 462 Global Discussions
- 156 Industry Talk
- 507 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 517 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!