Bring back a value based on condition of another cell
Answers
-
Is there a way to integrate the yellow into the formula as well?
-
You are going to need to adjust your conditions or shift the location of the individual IF statements so that the yellow comes before the red.
-
That's what I've been trying to do but I don't understand the formula to adjust it. :(
-
What do you want to adjust? Your criteria or the order?
-
I think it's both?
If the original date is up to 10 days old past today's date then it should bring back yellow
If the original date is more than 10 days old past from today's date then it should bring back red
If the original date is original date is within 90 days (into the future) then green
If the original date is more than 90 days (into the future) then blue
-
=IF([Original Date]@row <> "", IF([Original Date]@row < TODAY(-10), "Red", IF([Original Date]@row <= TODAY(), "Yellow", IF([Original Date]@row <= TODAY(90), "Green", "Blue"))))
-
Thanks @Paul Newcome that worked perfectly.
Can you help me understand the logic in the formula so I can learn for the future?
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!