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
Check out the Formula Handbook template!