Syntax
NETDAYS(start_date, end_date)
- start_date—The first date that you want to be measured
- end_date—The last date that you want to be measured
Sample usage
NETDAYS([Due Date]4, [Due Date]5)
Examples
This example references the following sheet information:
Clothing Item | Transaction Total | Units Sold | Sold Date | |
---|---|---|---|---|
1 | Clothing Item T-Shirt | Transaction Total 1,170.00 | Units Sold 78 | Sold Date 02/12/19 |
2 | Clothing Item Pants | Transaction Total 1,491.00 | Units Sold 42 | Sold Date 02/15/19 |
3 | Clothing Item Jacket | Transaction Total 812.00 | Units Sold 217 | Sold Date 02/20/19 |
Given the table above, here are some examples of using NETDAYS in a sheet:
Formula | Description | Result |
---|---|---|
Formula =NETDAYS([Sold Date]1, [Sold Date]2) | Description Returns the number of days from the start date in row 1 of the Sold Date column on to the end date in row 2 of the Sold Date column | Result 4 |
Formula =NETDAYS(MAX([Sold Date]:[Sold Date]), TODAY()) | Description Returns the number of days from the most recent date in the Sold Date column to the current date. The current date in this example being May 31st, 2019. Note that the TODAY function updates as the current date change. | Result 101 |
Formula =NETDAYS(MIN([Sold Date]:[Sold Date]), MAX([Sold Date]:[Sold Date])) | Description Returns the number of days from the oldest date in the Sold Date column, to the most recent date in the Sold Date column | Result 9 |
Still need help?
Use the Formula Handbook template to find more support resources and view 100+ formulas, including a glossary of every function that you can practice working with in real-time and examples of commonly used and advanced formulas.
You can find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.