Date Formulas?
How can I write a formula to tell me when a date is past three years from today but does not give a response if there is no date?
Answers
-
This should work for you:
=IFERROR(IF([Your Date Column Reference here]@row > TODAY(1095), "yes", "no"), "")
Just change the text of "Yes" and "No" to whatever indicators you would like.
-
When using this, the blanks are still returning a no. Is there a way to get the blanks to not return anything or something other than no?
-
As @CodyRussell stated in his post, just remove the no from inside the quotes.
=IFERROR(IF([Your Date Column Reference here]@row > TODAY(1095), "yes", " "), "")
-
Hi @Joe Roaden
I would replace the IFERROR with an IF ISDATE. That way you can retain the "no" when a date is present and is not past 3 years from today, but return blank (or something else - I have used "no date") if there is not a date.
=IF(ISDATE([Your Date Column Reference here]@row), IF([Your Date Column Reference here]@row > TODAY(1095), "yes", "no"), "no date")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 349 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!