Calculate amount of days untill deadline and how many days is overdue
Hi
Hoping you guys can help!
I'm trying to calculate the days between a desired deadline and today (so kind of a countdown) and in the same field then also count if the task is overdue and by how many days.
so, I was thinking, if it was counting down the days, it would be a positive number and when/if a task is overdue the number would be negative. so, its -3 days overdue... (or the other way around) (only networkdays)
I also need it to stop counting when a checkbox (Done) is checked. :)
I have been trying with a =IF formula but maybe it should be a count.
I can get them to work if it is only counting the days until due date and another counting days overdue date but can't seem to put them together.
Looking forward to hearing from you!
Best,
Marie
Answers
-
You would first need to insert a date type column. This can be hidden after setting it up to keep the sheet looking clean and will be called "Checked Date" in this example.
Then the formula to get the days would be:
=NETWORKDAYS([Start Date]@row, IF([Checked Date]@row <> "", [Checked Date]@row, TODAY()))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Hi Paul
Thanks for the fast response!
Okay, what should be in the "checked day" column?
-
Sorry about that. I got ahead of myself. It is a Record A Date automation set to trigger when the box is checked.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Okay, but i have that.
i just called it "Realized End-date"
this is recoreded automatically when the box is checked. :)
-
In that case you would use the same NETWORKDAYS formula as above but change the column names to whatever is applicable to your sheet.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Okay, Thanks..
It works, when it counts the days after the realized end date has been put in.
but it doesn't count the days from today until the desired deadline..
-
Sorry. Looks like I need another cup of coffee.
=NETWORKDAYS(IF([Checked Date]@row <> "", [Start Date]@row, TODAY()), IF([Checked Date]@row <> "", [Checked Date]@row, [Desired Deadline]@row))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
It's great! :D
It works!
Thank you so much!
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!