Totaling up Days between Dates
Comments
-
Hi Gordon,
Depending on what you need, there are several different ways to get the number of days between dates.
You can use the Duration feature if you have set up the Project Settings for the sheet and enabled Dependencies.
You can use on of the Functions below:
Try something like.
=NETDAYS([Start Date]@row; [End Date]@row)
=NETWORKDAY([Start Date]@row; [End Date]@row)
=NETWORKDAYS([Start Date]@row; [End Date]@row)
More info: https://help.smartsheet.com/functions
Hope that helps!
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
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.
-
Thanks you that's is quite helpful.
-
Excellent!
Happy to help!
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.
-
Hi Andree
What would one put around that function to show a zero when the dates haven't yet been selected for the function to calculate?
Thanks
Cheers
Richard
-
Hi Richard,
Try something like this.
=IF(OR(ISBLANK([Start Date]@row); ISBLANK([End Date]@row)); ""; NETDAYS([Start Date]@row; [End Date]@row))
The same version but with the below changes for your and others convenience.
=IF(OR(ISBLANK([Start Date]@row), ISBLANK([End Date]@row)), "", NETDAYS([Start Date]@row, [End Date]@row))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Hope that helps!
Best,
Andrée
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.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives