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
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!