How to start counting the number of days up from a [Start Date] column, but ending it when the job i
Are you able to provide a formula that will for for the following: to start counting the number of work days up from a [Start Date] column, but ending it when the job is completed (whether is be an action or another date is reached)?
Much thanks
Comments
-
Hi Jen,
You are looking for a formula to calculate the number of work days between [Start Date] and Today, until the job is complete? Once it's complete, the count would stay fixed as the difference between the start and complete date?
What's the indicator to show that the job is complete? Is there a status column or something similar?
Assuming that I understand correctly, and there is a status, this should work:
=IF(Status1 = "Complete", (NETWORKDAYS([Start Date]1, [Complete Date]1)), (NETWORKDAYS([Start Date]1, TODAY())))
Dave
-
David,
You have a few extra parenthesis tucked away in there...
=IF(Status1 = "Complete", NETWORKDAYS([Start Date]1, [Complete Date]1), NETWORKDAYS([Start Date]1, TODAY()))
-
Ah, yes I have been tinkering with it for a while and still get #UNPARSEABLE error. I appreciate your catch of the missing bracket, unfortunately I still have the error message. Any Ideas? Thank you
=IF(Status1 = "Complete", NETWORKDAYS([Kick Off Date]1, [Projected Live Date]1), NETWORKDAYS([Kick Off Date]1, TODAY()))
-
Yes, that is what I am trying to accomplish thank you for this formula, still trying to work out the error #unparseable
-
Your syntax is correct. Have you checked the spelling and spaces in your column names? Are all columns set as Date type columns?
-
Thanks for verifying the syntax. I went back and copied/pasted the column names to ensure they are correct. "Kick Off Date" and "Projected Live Date" are "Current type: Date" and the column that has this formula is "Current type: Text/number "
I am still getting an error. I will upload a screenshot in hopes something jumps out that might be causing the error, and thanks again for your time -
I don't see your Status Column, but everything else looks like it should be working...
-
Hmm this might be the key - so I do not have a
"Status Column" - perhaps this is what I am missing? I apologize I am new at using SS :S -
Oh! My "Total Days" column should be called "Status"?
-
That would be the issue. By using Status1 in your formula, Smartsheet is looking for a column actually named "Status". What are you using as a status column to determine whether or not it is complete?
-
Ah... I see "Total Days" is the name of the column - so I have now changed the column with the formulas applied to "Status", and it turned blue which is great because it means something is happening, however now I have the "# INVALID DATA TYPE" error So perhaps I should change the column "Current type: Text/number" to a different type? - sorry for the trouble.
-
You can leave the column that the formula is in as "Total Days". What I need to know is how you are determining something is "Complete".
-
I see, in my mind I thought the projected live date would determine it is complete. However sometimes the projected live date is surpassed and so I should use the "Live Date" Column to determine it is complete (this is only determined when product actually goes live so wont be filled in until then). Is that possible, or would it be better to create a column called "Status" with a different function other than date, like a drop down?
-
Ah. Ok. I'm starting to understand a little better how things are working. So if the Live Date column has a date in it, you want the NETWORKDAYS between it and the Kickoff Date? Otherwise you want the NETWORKDAYS beween Kickcoff and Projected Live?
Does that sound about right?
-
Yes that is correct. Though that sounds complicated - can it be done? My apologies for creating confusion.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!