Formulas Including Today as Calculation with Blank Values
Hello. I'm trying to use the Today function to help calculate a check column. Essentially, I want to compare a Due Date Column and a Completed Date column to return a value in the Two Weeks column.
If Due Date is within the next two weeks of Today AND the Completed column is blank, it should return a value of "1" in the Two Weeks column.
If the Due Date is blank, not within the next two weeks, or if the Completed box isn't empty, it should return a value of "0" in the Two Weeks column.
I'm using the following formula and it works with the exception that it returns a value of "1" in the Two Weeks column even if the Due Date is blank. Any thoughts on how to correct?
=IF(AND([Due Date]@row <= TODAY(+14), Completed@row = ""), "1", "0")
Best Answer
-
Hi @Taci Shinn ,
Try:
=IF(AND(ISDATE([due date]@row), [Due Date]@row <= TODAY(+14), Completed@row = ""), "1", "0")
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Answers
-
Hi @Taci Shinn ,
Try:
=IF(AND(ISDATE([due date]@row), [Due Date]@row <= TODAY(+14), Completed@row = ""), "1", "0")
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Yes! That worked like a charm. Many thanks!
-
Glad you found a solution. Thank you for contributing to the Community.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!