Change RYBG Color if the year is Greater than the current year
Lisi
✭
Hello,
I currently have this:
=IF([Wants refresh?]2 = "Yes", "Green", IF([Wants refresh?]2 = "No", "Gray"))
Which is working fine, but now I want to add that if the column Refresh Year has the year greater than the current year (2019) for it to turn red. I am not sure how to write that.
Any ideas?
Thank you!
Tags:
Comments
-
You can just toss the analysis for the year on the front of the series of "IF" statements like:
=IF(YEAR([Refresh Year]1) > YEAR(TODAY()), "Red", IF([Wants refresh?]1 = "Yes", "Green", IF([Wants refresh?]1 = "No", "Gray")))
Be sure to change the "[Refresh Year]" variable to whatever you named your column.
-
Thank you but when I use that I get #INVALID DATA TYPE
And my variable is called "Refresh Year"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!