Count Days down to a due date
If I have a "Due Date" column, and I want another column to calculate the amount of days leading up to that date… what formula would be created? It would be marked "Closed" if completed and "Open" if not completed.
Additionally when that item is passed the "due date" and still "Open" we would like to count the amount of days overdue in a negative number. What would we use here?
Best Answer

It sounds like the column you are placing the formula into is formatted as Date, but (if I understand your case correctly) it should be Text/Number.
Answers

=IF(AND(ISDATE([Due Date]@row), Status@row = "Open"), [Due Date]@row  TODAY(), "")
This assumes you have a column titled Status.

@Carson Penticuff
This gives me #Date Expected

It sounds like the column you are placing the formula into is formatted as Date, but (if I understand your case correctly) it should be Text/Number.

Oh my goodness  You are right! My apologies. Thank you!


Is there a way to make the negative numbers red?

You can do this with conditional formatting.

You have saved my Friday Brain !! Thank you so much. I should have known that. Just assumed it was within the formula
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 63.6K Get Help
 403 Global Discussions
 215 Industry Talk
 455 Announcements
 4.7K Ideas & Feature Requests
 141 Brandfolder
 136 Just for fun
 56 Community Job Board
 459 Show & Tell
 31 Member Spotlight
 1 SmartStories
 296 Events
 36 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!