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
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!