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
- 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