Count Weekend Days Between Two Dates

Excel Formulas › Date & Time

All versions

Need to know how many Saturdays and Sundays fall in a date range — for staffing, rent-free days, or project planning? Two clean ways to do it.


Quick formula: The simplest reliable formula is total days minus working days:
=(End-Start+1)-NETWORKDAYS(Start,End)

This counts every weekend day in the inclusive range, no helper column needed.

Functions used (tap for the full reference guide):

The example

A project runs from a start date to an end date and you want the number of weekend days inside it.

AB
1LabelValue
2Start date2026-06-01
3End date2026-06-30
4Weekend days8

The formula

Subtract the count of working days from the count of all days in the inclusive range:

=(B3-B2+1)-NETWORKDAYS(B2,B3) // all days minus working days = weekend days

How it works

Here is the logic, step by step:

  1. B3-B2+1 gives the total number of days in the range, counting both endpoints.
  2. NETWORKDAYS(B2,B3) counts Monday–Friday days, automatically excluding Saturdays and Sundays.
  3. Subtracting working days from total days leaves exactly the Saturdays and Sundays.
  4. Format the result cell as a plain number (not a date) so it shows 8, not a date serial.

For June 2026 (June 1–30) there are 30 total days and 22 weekdays, leaving 8 weekend days.

Try it: interactive demo

Interactive

Enter a number of total days and working days, or use the date math below — the weekend count updates live.

Variations

Count only Saturdays (or only Sundays)

Use SUMPRODUCT with WEEKDAY to target one day of the week. WEEKDAY(...,2) returns 6 for Saturday, 7 for Sunday.

=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(B2&":"&B3)),2)=6))

Custom weekend (Fri–Sat)

If your weekend is not Sat–Sun, use NETWORKDAYS.INTL with a weekend code.

=(B3-B2+1)-NETWORKDAYS.INTL(B2,B3,7)

Pitfalls & errors

If the result shows up as a date, change the cell number format to General or Number.

NETWORKDAYS also accepts a holiday list as a third argument if you want to exclude those too — but that does not change the weekend count itself.

Practice workbook

📊
Download the free Count Weekend Days Between Two Dates practice workbook
Change the yellow start and end dates; the weekend count recalculates instantly.

Frequently asked questions

Does this include the start and end dates?
Yes. The +1 makes the range inclusive of both endpoints, and NETWORKDAYS is also inclusive, so the subtraction stays consistent.
What if my weekend is not Saturday and Sunday?
Use NETWORKDAYS.INTL with a weekend code (for example 7 for Friday–Saturday) in place of NETWORKDAYS.
Why not just count with a helper column?
You can, but the NETWORKDAYS subtraction needs no extra cells and updates instantly when the dates change.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Workdays between two dates · Add business days to a date

Function references: NETWORKDAYSSUMPRODUCTWEEKDAY