Formula to calculate number of day in process
Looking for a formula to calculate the number of days in process until a completion date is entered? I would like the number of days in process to show for tracking, but stop calculating when a completion date has been entered.
=NETWORKDAYS([Received Date]@row, TODAY())
If I add 3/19/22 to the completion date column, the number of days in process will continue to increase.
Best Answer
-
Hi @RENEET
I hope you're well and safe!
Try something like this.
= IF([Received Date]@row = "", "", IF([Completion Date]@row = "", NETWORKDAYS([Received Date]@row, TODAY()), NETWORKDAYS([Received Date]@row, [Completion Date]@row)))
Did that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Answers
-
Hi @RENEET
I hope you're well and safe!
Try something like this.
= IF([Received Date]@row = "", "", IF([Completion Date]@row = "", NETWORKDAYS([Received Date]@row, TODAY()), NETWORKDAYS([Received Date]@row, [Completion Date]@row)))
Did that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
This did work. Thank you very much.
-
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hello @Andrée Starå
I used the formula you provided for the same situation. However, I noticed that the number of days is not adding up correctly. It appears that it is not tracking weekends? That is, the "number of days in process" is always 2 days short per week (only counts 5 days per week). Please advise. If not for this issue, the formula works as intended(-ish).
-
Hi @Windy W.
WORKDAY, NETWORKDAY, and NETWORKDAYS count Saturday and Sunday as non-working days.
So in @Andrée Starå's formula there are intentionally only 5 days in a week.
You can adjust Andrée's formula to use NETDAYS instead of NETWORKDAYS if you wish to include weekends.
-
@KPH Thank you! That's the solution. As a novice user to Smartsheet, I really appreciate your help.
-
Happy to help @Windy W. and thank you so much for the ❤️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!