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