NETWORKDAYS
Count weekdays in a date span, optionally excluding listed holidays.
Syntax
=NETWORKDAYS(start_date, end_date, [holidays])Worked example
Count Monday through Friday inclusive in a week with no listed holidays.
=NETWORKDAYS(DATE(2026,3,2),DATE(2026,3,6))Result 5
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceHow to use the NETWORKDAYS function in Excel
Practice NETWORKDAYS
Count Monday through Friday inclusive in a week with no listed holidays.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=NETWORKDAYS(B2,B3) Lesson quiz
Answer three questions to see your level in this lesson.
