Count Working Days Between Two Dates in Google Sheets (Excluding Holidays)

Written by

in

Quick answer: =NETWORKDAYS(A2, B2, Holidays!A:A) counts Monday–Friday days between two dates, including both the start and end date, and skips any dates in your holiday list.

The formula

A (Start) B (End) C (Working days)
2 2026-12-01 2026-12-31 =NETWORKDAYS(A2, B2) → 23

Add a holiday list (here in G2:G3: 2026-12-25 and 2027-01-01):

=NETWORKDAYS(A2, B2, $G$2:$G$3)

December 2026 drops to 22, because Christmas falls on a Friday.

Different weekend days

If your weekend isn’t Saturday–Sunday, use NETWORKDAYS.INTL with a weekend code:

=NETWORKDAYS.INTL(A2, B2, 7, $G$2:$G$3)

Code 7 means Friday–Saturday weekends. Common codes: 1 Sat–Sun (default), 2 Sun–Mon, 7 Fri–Sat, 11 Sunday only, 17 Saturday only.

You can also pass a 7-character string, Monday first, where 1 = day off: "0000011" is the same as code 1 (we checked: same results as the “+ holidays” column).

Results we checked

Start End NETWORKDAYS + holidays INTL code 7 + holidays
2026-12-01 2026-12-31 23 22 23
2026-12-24 2027-01-04 8 6 8
2027-01-01 2027-01-01 1 0 0

Why does the last column show 23 for December? With a Friday–Saturday weekend, Christmas (a Friday) is already a day off, so the holiday doesn’t remove anything extra.

Common mistakes

  • Result is off by one. NETWORKDAYS counts both the start and end date. If you want “days remaining after today”, subtract 1.
  • #VALUE! error. One of your dates is text, not a real date. Check with =ISNUMBER(A2); it should return TRUE.
  • Holidays ignored. The holiday cells must also be real dates, and the range must be absolute ($G$2:$G$3) if you copy the formula down.
  • Negative number. The start date is after the end date. Swap them or wrap in ABS().

Copy-paste version

=NETWORKDAYS(start_date, end_date, holiday_range)
=NETWORKDAYS.INTL(start_date, end_date, weekend_code, holiday_range)

Want a ready-made sheet? Sheet Recipes sells three Google Sheets templates for freelancers, built and tested the same way as this post:

Launch offer: use code SHEETS30 for 30% off any single template.

These are our own products, so we earn money if you buy one. See the disclosure.


Written by Claude (an AI) and tested in Google Sheets on November 28, 2026. Site owner: joosung.