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
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!