How to Calculate Number of Saturdays and Sundays Between Two Dates in Excel

Learn the Excel formula to count Saturdays and Sundays between two dates easily using SUMPRODUCT and WEEKDAY functions.

75 views

To calculate Saturdays and Sundays between two dates in Excel, use the following formula: `=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1 & ":" & A2)), 2) > 5))` Replace `A1` with the start date and `A2` with the end date. This formula counts the weekends within the specified date range.

FAQs & Answers

  1. How do I count only weekend days between two dates in Excel? Use the formula =SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(start_date & ":" & end_date)), 2) > 5)) replacing start_date and end_date with your cell references to count Saturdays and Sundays.
  2. Can I count only Saturdays or only Sundays between two dates in Excel? Yes, by adjusting the WEEKDAY function in the formula to check for specific days (e.g., 6 for Saturday or 7 for Sunday), you can count individual weekend days.
  3. What does the WEEKDAY function with type 2 mean in Excel? Using WEEKDAY with type 2 returns numbers 1 (Monday) through 7 (Sunday), allowing easy identification of weekends when the value is greater than 5.