Date and time

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 reference

Search ExcelTutor