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
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 438 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!