What NETWORKDAYS does
NETWORKDAYS counts the working days between two dates, leaving out Saturdays, Sundays and any holidays you list. =NETWORKDAYS(B1,B2,B5:B7) gives the number of weekdays from the date in B1 to the date in B2, minus the holidays in B5:B7. The start date and the end date both count when they fall on a working day.
It answers the questions that come up in planning and HR, such as how many working days a project has or how many days someone is away on leave. Keeping the holidays in a short list on the sheet means everyone counts the same way.
The weekend is always Saturday and Sunday. For other working weeks, NETWORKDAYS.INTL lets you choose the weekend days. For calendar days, weekends included, subtract one date from the other; the free lesson Add and subtract days with dates shows how.
Syntax
start_dateRequired- The first date of the period, as a real date, usually a cell like
B1. It counts if it's a working day. end_dateRequired- The last date of the period, such as
B2. It counts too, if it's a working day. holidaysOptional- Optional. A range of dates to leave out as well, such as public holidays or days the office is closed:
B5:B7.
Example: working days in a project
The project runs from Monday, Mar 2, 2026 to Friday, Mar 27, 2026.
Example: leave out days the office is closed
December 2026 has 23 weekdays. The office is closed from Dec 24 to Dec 26, and those dates are listed in B5:B7.
A holiday that falls on a weekend isn’t taken off twice, so you can list every closure date without checking which day it falls on.
Common mistakes
- NETWORKDAYS counts both ends, so Monday to Friday of the same week is 5 days. Subtract 1 if your rule counts only the days after the start.
- “2/3/2026” typed as text gives
#VALUE!, and on another computer it might mean a different day. Use real dates, or build them with DATE. - Keep holidays in a range on the sheet and refer to it with a locked reference such as
$B$5:$B$7, so the formula can be filled down and next year’s dates added in one place. - Teams that work Sunday to Thursday need NETWORKDAYS.INTL, which takes the weekend as an extra argument.
Frequently asked questions
Does NETWORKDAYS include the start and end dates?
Yes, both, as long as they are working days; a start date on a Saturday doesn’t count. To leave out a start date that is a working day, subtract 1: =NETWORKDAYS(B1,B2)-1.
What is the difference between NETWORKDAYS and WORKDAY?
NETWORKDAYS counts the working days between two dates you already have. WORKDAY goes the other way: give it a start date and a number of working days, and it returns the date you land on, so =WORKDAY(A2,10,B5:B7) is 10 working days after A2, skipping the listed holidays.
How do I exclude holidays from NETWORKDAYS?
List the holiday dates in a range on the sheet and give that range as the third argument: =NETWORKDAYS(B1,B2,$B$5:$B$7). The list must hold real dates, and a holiday that falls on a weekend isn’t taken off twice.
How do I count the working days in a month?
Give NETWORKDAYS the first and the last day of the month. With the first of the month in A2, =NETWORKDAYS(A2,EOMONTH(A2,0)) counts that month’s working days; add a holiday range as the third argument to take those off too.
What is the difference between NETWORKDAYS and NETWORKDAYS.INTL?
NETWORKDAYS always treats Saturday and Sunday as the weekend. NETWORKDAYS.INTL takes a weekend code as its third argument, so =NETWORKDAYS.INTL(B1,B2,7) treats Friday and Saturday as the weekend; its holidays go in the fourth argument.