NETWORKDAYS counts working dates between two endpoints in Google Sheets, excluding Saturdays, Sundays, and any holidays you list. A working start date and a working end date both count.

The example below uses an explicit calendar and two fictional company closures. That makes the difference between elapsed calendar days, inclusive working dates, and scheduled hours easy to inspect.

Business-day results 10, 8, 1, 0, and 7 beside the date and closure inputs.
NETWORKDAYS counts the endpoints and can exclude the listed company closures.Credit: MathBlog

Enter unambiguous dates

Copy this tab-separated block into A1 on a blank worksheet:

Source-entry preview: A1:B3 (formulas shown as entered)
Row A B
1 Label Date
2 Start =DATE(2026,11,2)
3 End =DATE(2026,11,13)

Copy only the tab-separated block below. Worksheet letters and row numbers in the preview are display labels, not part of the data.

Label	Date
Start	=DATE(2026,11,2)
End	=DATE(2026,11,13)

The start date is in B2 and the end date is in B3. Format those cells as dates. The DATE formulas specify year, month, and day rather than relying on a locale-dependent typed string.

Now enter the hypothetical closure list:

Copy this tab-separated block into E1 on a blank worksheet:

Source-entry preview: E1:E3 (formulas shown as entered)
Row E
1 Company closures
2 =DATE(2026,11,5)
3 =DATE(2026,11,11)

Copy only the tab-separated block below. Worksheet letters and row numbers in the preview are display labels, not part of the data.

Company closures
=DATE(2026,11,5)
=DATE(2026,11,11)

E2 and E3 should also be date values. These dates are example company closures, not a claim about official holidays in any country. Your real holiday list must match the organization and location being measured.

Count the weekdays first

Enter this in F2:

=NETWORKDAYS(B2,B3)

The expected result is 10. November 2, 2026, is a Monday, and November 13 is the next week’s Friday. The two Monday-to-Friday blocks contribute five working dates each.

Ordinary subtraction of these dates measures a different quantity. NETWORKDAYS includes eligible endpoints, so a Monday-to-Friday span has five working dates even though subtracting Friday minus Monday gives four calendar days.

Remove the company closures

In F3, enter:

=NETWORKDAYS(B2,B3,$E$2:$E$3)

The expected result is 8. November 5 and November 11 are weekdays within the interval, so each removes one date from the original ten.

Independent calendar check
Week Weekdays Example closures Working dates
Nov 2–6 5 1 4
Nov 9–13 5 1 4
Total 10 2 8

The holiday list is an input, not something Sheets fills automatically from your company’s policies. Keep it current and use actual date values. A listed closure outside the interval does not change this calculation.

Test the endpoint convention

These two checks belong in F4 and F5:

=NETWORKDAYS(DATE(2026,11,2),DATE(2026,11,2))
=NETWORKDAYS(DATE(2026,11,7),DATE(2026,11,7))

The expected results are 1 and 0. An equal start and end date on a working Monday counts once; an equal Saturday counts zero. These are inclusive date counts, not a rule for “days after the start.”

If your report excludes the start date, state that rule separately and handle equal dates explicitly. Simply shifting the start one day forward when both dates are equal would reverse their order.

Use a different weekend when necessary

For regular Friday and Saturday days off, enter this in F6:

=NETWORKDAYS.INTL(B2,B3,"0000110",$E$2:$E$3)

The expected answer is 7. The seven-character pattern runs from Monday to Sunday; a 1 marks a nonworking weekend day. Here Friday and Saturday are excluded, while Sunday can count.

This interval is not two complete seven-day weeks: it begins on Monday and ends on Friday. Changing which weekdays are weekends therefore changes the total even before you consider the closure list.

Keep the unit of the result clear

Eight working dates are not automatically eight shifts or 64 hours. Part-time schedules, partial-day absences, and different shift lengths require additional information. NETWORKDAYS supplies a whole-date count under the calendar you specified.

Check that the date cells are numeric date values, the closure years are correct, and the start and end are in the intended order. For a date a given number of working days ahead, use WORKDAY rather than treating this count as an end-date calculation.

Further reading