Actual Date IF Formula for RYG Balls
Hi all!
I would like my RYG balls to express the following (actual dates, not cell reference):
Green = before 21 August 2020
Yellow = after 21 August 2020
Red = after 28 August 2020
This is my current formula, and although individual statements work, it doesn't work as a whole - it doesn't return any 'Reds'
=IF([Delivery Date]9 < (DATE(2020, 8, 20)), "Green", IF([Delivery Date]9 >= (DATE(2020, 8, 20)), "Yellow", IF([Delivery Date]9 >= (DATE(2020, 8, 27)), "Red")))
Help would be very much appreciated 🙂
Best Answer
-
Try swapping your Yellow and Red.
=IF([Delivery Date]9 < DATE(2020, 8, 20), "Green", IF([Delivery Date]9 >= DATE(2020, 8, 27), "Red", IF([Delivery Date]9 >= DATE(2020, 8, 20), "Yellow")))
Answers
-
Try swapping your Yellow and Red.
=IF([Delivery Date]9 < DATE(2020, 8, 20), "Green", IF([Delivery Date]9 >= DATE(2020, 8, 27), "Red", IF([Delivery Date]9 >= DATE(2020, 8, 20), "Yellow")))
-
That's got it - thanks Paul!
-
Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!