NETDAYS Function

Returns the number of days from a start date to an end date
Sample usage
NETDAYS([Due Date]4, [Due Date]5)

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
Examples

This example references the following sheet information:

 Clothing ItemTransaction TotalUnits SoldSold Date
1T-Shirt1,170.007802/12/19
2Pants1,491.004202/15/19
3Jacket812.0021702/20/19

Given the table above, here are some examples of using NETDAYS in a sheet:

FormulaDescriptionResult
=NETDAYS([Sold Date]1, [Sold Date]2)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 column4
=NETDAYS(MAX([Sold Date]:[Sold Date]), TODAY())

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.

101
=NETDAYS(MIN([Sold Date]:[Sold Date]), MAX([Sold Date]:[Sold Date]))Returns the number of days from the oldest date in the Sold Date column, to the most recent date in the Sold Date column9

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.

Ask the Community

Was this article helpful?
YesNo