Function for finding the # of days between two dates
Hello,
I am trying to find a function in Smartsheet that will allow me to identify the number of days between two dates. In excel, this function would be DAYS(end_date, start_date), but I can't seem to find a similar function in Smartsheet.
Suggestions?
Thank you
Answers
-
There are three different functions you can use. One uses calendar days and the other two uses work days. But networkday adds and additional day if the start date is on a non-workday.
I hope that helps!!!
-
-
Interestingly enough, when I use today - yesterday I get the #2
12/05/2024 - 12/04/2024…
Does that mean its counting total days as in th 5th and 4th? -
Yes, if you only want to count workdays you should use =NETWORKDAYS(start_date, end_date, [holidays]) the third parameter is optional if you want to account for non-working holidays.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!