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
- Customer Resources
- 67.1K Get Help
- 448 Global Discussions
- 154 Industry Talk
- 504 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 513 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!