Formula to test for Date + If Date Is Within One Year
SEBERCAW
✭✭✭
I know that =IF(DATE@row <> "", "Green", "Red") will tell be if there is a Date.
I need to add one more condition. That the date is also within the last year.
Can someone please help me?
I want the column to be Red if either condition fails and Green if both conditions are met.
Answers
-
Hi @SEBERCAW
See if this is what you need:
=IF(AND(Date@row <> "", Date@row >= TODAY() - 365), "Green", "Red")
Hope this helps!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.9K Get Help
- 441 Global Discussions
- 153 Industry Talk
- 501 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 79 Community Job Board
- 511 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 37 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!