FormulaCamp
Completed
← All functions
Date & time

NETWORKDAYS

Working days in a period.

Syntax

NETWORKDAYS(start_date, end_date, [holidays])

Example: =NETWORKDAYS(A2,B2,Holidays)

Available in: All versions

NETWORKDAYS counts the working days between two dates, excluding Saturdays, Sundays and an optional list of holidays: =NETWORKDAYS(start_date, end_date, [holidays]). Both the start and end dates are counted if they are working days.

When to use it

Arguments explained

Worked examples

Business days in two weeks

AB
1StartEnd
23/1/20243/15/2024

Formula: D2: =NETWORKDAYS(A2,B2)

Result: 11

March 1 (Fri) to March 15 (Fri) contains 11 weekdays, counting both ends.

Exclude a holiday

ABCD
1StartEndHolidays
23/1/20243/15/20243/13/2024

Formula: F2: =NETWORKDAYS(A2,B2,D2)

Result: 10

The holiday on Wednesday, March 13 removes one more day.

A weekend gives zero

AB
1StartEnd
23/9/20243/10/2024

Formula: D2: =NETWORKDAYS(A2,B2)

Result: 0

Saturday and Sunday are both excluded.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =NETWORKDAYS(A2,B2,C2:C3)

Example spreadsheet for NETWORKDAYS
ABCDEF
1StartEndHolidayTimeResult
23/15/20266/20/20265/1/202614:4569
31/31/20262/28/20265/9/202609:30
412/24/20251/9/2026
Result in F2: 69
Practice this in a lesson: Workdays

Common errors and how to fix them

Related functions

Frequently asked questions

How do I add business days to a date?
Use WORKDAY(start, days, [holidays]).
How do I list holidays?
Type them in a range of real dates and pass that range as the third argument.
Does NETWORKDAYS include the start date?
Yes, if it is a working day.
How do I use a Friday-Saturday weekend?
Use NETWORKDAYS.INTL with a weekend code or string.

More in Date & time