Duration of a project
I have been calculating the duration of a project in the column excluding weekends and I have been using this simple formula
=NETWORKDAYS([Date Sent IKA/CHD]@row, [Date Closed]@row)
It has worked but if the project is on going and there is no entry in "date closed" column then it populates the column with an error message. Is there a way to use this formula with a "If" statement so that if there is a close date to use that and if not to use the current date to show the ongoing duration days?
Thanks
Best Answer
-
iferror(NETWORKDAYS([Date Sent IKA/CHD]@row, [Date Closed]@row),NETWORKDAYS([Date Sent IKA/CHD]@row,today())
Apologies I had an extra parenthesis stuck in there
Answers
-
=iferror(NETWORKDAYS([Date Sent IKA/CHD]@row, [Date Closed]@row)),NETWORKDAYS([Date Sent IKA/CHD]@row,today())
Like that?
-
@L@123 Unfortunately that formula did not work. I am not sure what part though I am still a novice to Smartsheet.
-
iferror(NETWORKDAYS([Date Sent IKA/CHD]@row, [Date Closed]@row),NETWORKDAYS([Date Sent IKA/CHD]@row,today())
Apologies I had an extra parenthesis stuck in there
-
@L@123 Thanks this worked!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!