How to use NETWORKDAYS in Excel
NETWORKDAYS counts working days (Monday–Friday) between two dates, including both ends, and can skip a list of holidays. Use it for project durations, delivery times and SLAs.
Syntax
=NETWORKDAYS(start_date, end_date, [holidays])
start_date | The first day. |
end_date | The last day. |
[holidays] | Optional range of holiday dates to exclude. |
Examples
=NETWORKDAYS(B2, C2)Working days of a project.=NETWORKDAYS(B2, C2, $F$2:$F$15)Excluding public holidays.=NETWORKDAYS(TODAY(), B2)Working days left until a deadline.Working days for SLAs and deadlines
Banks and support teams measure deadlines in working days. NETWORKDAYS counts Monday to Friday and, with a holiday list, leaves out public holidays too. Both the start and the end day are counted.
=NETWORKDAYS(B2, C2, Holidays!$A$2:$A$20)Working days between the request and the reply.=IF(NETWORKDAYS(B2, C2, $H$2:$H$20)>5, "SLA missed", "OK")Flags requests answered in more than 5 working days.Add working days to a date
NETWORKDAYS counts days between two dates. To find a deadline, go the other way with WORKDAY.
=WORKDAY(B2, 10, $H$2:$H$20)The date 10 working days after B2, skipping weekends and holidays.=WORKDAY(EOMONTH(B2, 0), -1)The last working day before the end of the month.Different weekends
NETWORKDAYS.INTL lets you choose which days are the weekend, for teams that work on Saturday or countries with a Friday-Saturday weekend.
=NETWORKDAYS.INTL(B2, C2, 11)Only Sunday is a day off.=NETWORKDAYS.INTL(B2, C2, 7)Friday and Saturday are the weekend.Common mistakes
- Different weekends
- If your weekend isn't Saturday–Sunday, use NETWORKDAYS.INTL.
- Holiday list moves when copied
- Lock it:
$F$2:$F$15. - Off by one
- Both start and end dates are counted when they're working days.
Frequently asked questions
Does NETWORKDAYS count the start date?
Yes, both the start and the end date are included, so Monday to Friday of the same week is 5 days. Subtract 1 if the first day shouldn't count.
How do I add public holidays to NETWORKDAYS?
Type the holiday dates in a range, for example H2:H20, and give it as the third argument. Lock it with $ so it doesn't move when you copy the formula.
Why does NETWORKDAYS return a negative number?
The start date is later than the end date. Swap them, or use =ABS(NETWORKDAYS(B2, C2)).
How do I count calendar days instead?
Just subtract: =C2-B2. For complete months or years, use DATEDIF.
Available in: All versions of Excel, Excel for the web, Google Sheets