FormulaCraft

How to count weekend days between two dates in Excel and Google Sheets

Excel & Google Sheets
=B2-A2+1-NETWORKDAYS(A2,B2)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Calculate total days in the period: =B2-A2+1.
  2. 2Subtract NETWORKDAYS(A2,B2) to get the weekend-day count.
  3. 3The combined formula is: =B2-A2+1-NETWORKDAYS(A2,B2).
  4. 4Alternatively, use SUMPRODUCT: =SUMPRODUCT((WEEKDAY(ROW(INDIRECT(A2&":"&B2)),2)>=6)*1) — this counts every Saturday and Sunday directly.
  5. 5Ensure A2 and B2 contain date values (not text) for accurate results.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

Why is my count off by one?

The +1 in B2-A2+1 is needed to include the start date. Omitting it gives the day count exclusive of the start date.

Does this formula count holidays on weekends?

Yes. The simple subtraction method counts all non-weekday days. If you want to exclude holidays from the weekend count, apply additional logic.

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: