How to Count the Number of Weekends/Weekdays Between Two Dates in Excel?


Excel is a robust tool for mathematics and data analysis, and it offers a number of functions to assist in manipulating and analysing dates. When working on projects that need scheduling, tracking attendance, or timeline planning, it can be especially helpful to know how to calculate the number of weekends or weekdays that have passed between two dates. You can rapidly and precisely count the number of weekends or weekdays in a certain period of time by using Excel's built-in tools.

So, let's get started and learn how to use Excel to count weekends or weekdays between two dates. By the time you finish this video, you'll be able to execute these calculations quickly and accurately, which will speed up your data analysis and decision-making processes.

Count the Number of Weekends/Weekdays Between Two Dates

Here, we can complete the task using the formula directly. So let us see a simple process to know how you can count the number of weekends or weekdays between two dates in Excel.

Step 1

Consider an Excel sheet where you have two dates similar to the below image.

First, count the number of weekends. Click on an empty cell and enter the formula as =INT((WEEKDAY($B$1- 1)-$B$1+$B2)/7) in the cell C2 and click enter.

Empty cell > Formula > Enter.

Step 2

Now to count the number of weekdays, click on an empty cell and enter the formula as =NETWORKDAYS(B1,B2) and click enter to complete the task.

Empty cell > Formula > Enter.

This is how you can count the number of weekends or weekdays between two dates in Excel.

Conclusion

In this tutorial, we have used a simple example to demonstrate how you can count the number of weekends or weekdays between two dates in Excel to highlight a particular set of data.

Updated on: 22-Aug-2023

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements