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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!