IF for dates and text
I am trying to turn a symbol a certain color based on the following
If the status column is complete, turn it blue and ignore all else. If the status column is anything but complete use the following
=IF(TODAY() - [End Date]@row > 0, "Red", IF(TODAY() - [End Date]@row > -3, "Yellow", "Green"))
The above works for validating against the end date column, I cannot figure out how to add the additional reference to status column if complete. Any help would be amazing before I lose ALL my hair.
Best Answer
-
You just have to nest the condition like below,
=IF(Status@row = "Complete", "Blue", IF([End Date]@row < TODAY(), "Red", IF([End Date]@row - TODAY() < 3, "Yellow", "Green")))
Answers
-
You just have to nest the condition like below,
=IF(Status@row = "Complete", "Blue", IF([End Date]@row < TODAY(), "Red", IF([End Date]@row - TODAY() < 3, "Yellow", "Green")))
-
Thank you, I was missing a quotation mark and kept getting errors. Yours fixed it!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!