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
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!