NETWORKDAYS function in Excel
Returns the number of whole workdays between two dates
=NETWORKDAYS(start_date, end_date, [holidays])NETWORKDAYS syntax and parameters
Three arguments, two required.
- start_dateanyRequired
A date that represents the start date.
- end_dateanyRequired
A date that represents the end date.
- holidaysanyOptional
An optional range of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. The list can be either a range of cells that contains the dates or an array constant of the serial numbers that represent the dates.
NETWORKDAYS examples
Formulas you'll actually reuse.
Working days in September 2026, Saturdays and Sundays excluded:
=NETWORKDAYS(DATE(2026, 9, 1), DATE(2026, 9, 30))Result
22Working days of a project, with public holidays listed in H2:H10 skipped too:
=NETWORKDAYS(B2, C2, H2:H10)
NETWORKDAYS in Google Sheets
Same name — your formula ports as-is.
Try NETWORKDAYS in the playground
Edit the example — nothing to install.
Preloaded with the NETWORKDAYS formula from Example 1 — change anything and watch it respond.
Related functions
More ways Excel gets this done.
- DATEReturns the serial number of a particular dateDateGoogle Sheets
- DATEDIFCalculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.DateGoogle Sheets
- DATEVALUEConverts a date in the form of text to a serial numberDateGoogle Sheets
- DAYConverts a serial number to a day of the monthDateGoogle Sheets
- DAYSReturns the number of days between two datesDateGoogle Sheets
- DAYS360Calculates the number of days between two dates based on a 360-day yearDateGoogle Sheets