To count the working days in a month, pair NETWORKDAYS with EOMONTH: =NETWORKDAYS(A1,EOMONTH(A1,0),A4:A14), where A1 is the first day of the month and A4:A14 is an optional list of holiday dates. EOMONTH with a 0 returns the last day of that month, so NETWORKDAYS counts from the first to the last, skipping Saturdays and Sundays plus anything in your holiday list.
One thing to watch: this only gives the full month if A1 is actually the 1st — point it at 15-Jan and you’ll get the working days remaining from the 15th onward. To make it work from any date in the month, use =NETWORKDAYS(EOMONTH(A1,-1)+1,EOMONTH(A1,0),A4:A14).
And if your working week isn’t Monday to Friday, NETWORKDAYS won’t help — use NETWORKDAYS.INTL instead: =NETWORKDAYS.INTL(A1,EOMONTH(A1,0),11,A4:A14) treats Sunday alone as the weekend, and 1 through 17 cover the other combinations, including a custom "0000011" string where each digit is a day from Monday.
To get the total number of business days (working days) in Excel using a formula, you need to combine two functions (EOMONTH and NETWORKDAYS). In this formula, EOMONTH helps you get the last date of the month, and by using that last date and the first date specified by you, NETWORKDAYS returns the total number of business days in a month.

In this tutorial, we will learn to write this formula. And we will also consider holidays that you need to specify while calculating the total days.
Excel Formula to Get Total Business Days in a Month
You can use the below steps:
- First, in a cell, enter the NETWORKDAYS function.
- After that, in the first argument (start_date), refer to the cell where you have the starting date of the month.
- Next, in the second argument (end_date), enter the EOMONTH function.
- From here, in the EOMONTH, specify the starting date of the month that you have referred to in the start_date argument of the NETWORKDAYS.
- Now, enter zero (0) in the (months) argument of the EOMONTH, and type the closing parenthesis to close the function.
- In the end, refer to the list of holidays (this needs to be a list of valid dates) in the [holidays] argument of the NETWORKDAYS, type the closing parenthesis, and hit Enter to get the result.

=NETWORKDAYS(A1,EOMONTH(A1,0),A4:A14) =NETWORKDAYS(start_date,EOMONTH(start_date,0),list_of_holidays)
How Does This Formula Work?
As I mentioned earlier, the EOMONTH function returns the last date of the month. When you specify a date in the function, it returns the last date of that month.

NETWORKDAYS uses that date as an ending date to get the total number of days between these two dates.

And in the end, when you specify a list of dates that are holidays, NETWORKDAYS leaves them out while calculating the total number of days (only the holidays that fall on a weekday make a difference).
In the example above, we have used the first day of January 2023. In January, we have 31 days in total. And when you check it manually, you have 10 weekend days and holidays in the month. That means 21 working days for a business.

And that’s the exact number of business days we have got in the result.
Business Days in a Month from Any Date
The formula above needs the first date of the month in cell A1. If your cell has any other date of the month, like 18-Jan-2023, NETWORKDAYS only counts from that date. To always start from the first day of the month, use EOMONTH with -1 (the last date of the previous month) and add 1:
=NETWORKDAYS(EOMONTH(B1,-1)+1,EOMONTH(B1,0),A4:A14)
With 18-Jan-2023 in B1, this formula also returns 21. And to get the business days of the current month, use TODAY() instead of B1.
Business Days Left in the Month
To count the working days from a date until the end of its month, use that date as the start date. NETWORKDAYS counts the start date as well, so with 18-Jan-2023 in B1, the result is 9 (10 weekdays minus the holiday on 26-Jan):
=NETWORKDAYS(B1,EOMONTH(B1,0),A4:A14)
Business Days with a Different Weekend
NETWORKDAYS always treats Saturday and Sunday as the weekend. If your weekend is different, use NETWORKDAYS.INTL (Excel 2010 and later). Its third argument is the weekend: 1 is Saturday-Sunday, 7 is Friday-Saturday, 11 is Sunday only, and you can also use a text of seven 0s and 1s (Monday to Sunday), like “0000011”. The following formula uses a Friday-Saturday weekend:
=NETWORKDAYS.INTL(A1,EOMONTH(A1,0),7,A4:A14)
Frequently Asked Questions
Why does NETWORKDAYS return a date instead of a number?
The result cell has a date format, often because it took the format of the date cells. Change the cell format to General or Number.
Why do holidays not change the result?
Either the holiday falls on a weekend, which is already left out, or the holiday list has text instead of real dates. Check the holiday cells with ISNUMBER; a real date returns TRUE.
Does NETWORKDAYS include the start and end date?
Yes. Both dates are counted if they are working days, which is why the formula counts the whole month from the first to the last date.
Written by
Puneet Gogia
Microsoft MVP — Excel · Founder, Excel Champs
Twelve years of teaching Excel, and a decade before that using it as a data analyst. Every tutorial here is written from a file I actually built.