
Counts the number of working days between two dates, excluding weekends and optional holidays.
The Excel NETWORKDAYS function counts the number of whole working days between two dates. It automatically excludes Saturdays, Sundays, and any optional holiday dates you provide.
This is useful for project planning, staffing, invoice timing, payroll estimates, SLA tracking, and any report where business days matter more than simple calendar days.
Returns the number of working days between a start date and an end date using the standard Monday-to-Friday workweek.
Returns an integer count of business days after weekends and optional holidays have been removed.
=NETWORKDAYS(start_date, end_date, [holidays])
start_date and end_date define the period you want to measure. The optional holidays argument lets you exclude extra non-working dates such as public holidays or company shutdowns. For reliable results, Microsoft recommends using real Excel dates or DATE(...) instead of ambiguous text dates.
These date functions are related, but they answer different questions.
| Function | What It Returns | Weekend Rule | Best Use |
|---|---|---|---|
NETWORKDAYS |
Count of working days between two dates | Saturday and Sunday only | Standard business-day counting |
NETWORKDAYS.INTL |
Count of working days between two dates | Custom weekend patterns | Regional or non-standard workweeks |
WORKDAY |
A resulting business-day date | Saturday and Sunday only | Find a due date after a number of workdays |
| Date subtraction | Total calendar days | No weekend skipping | Measure raw elapsed time |
Use NETWORKDAYS when you know the start and end dates and want the count of business days in between. Use WORKDAY when you know the start date and the number of workdays, and want the resulting date instead.
NETWORKDAYS assumes a standard workweek where Saturday and Sunday are weekends. That makes it a simple choice for most office-based schedules. If your schedule uses a different weekend pattern, the more flexible option is NETWORKDAYS.INTL.
A key detail is that NETWORKDAYS is inclusive. If the start date and end date are the same valid workday, the result is 1. That makes it different from simple date subtraction, which would give you a zero-day gap for the same two dates.
Holidays let you refine the count further. If a holiday falls on a weekday inside the date range, Excel removes it from the result. This is helpful for public holidays, company closure days, or any other non-working dates that should not be billed or scheduled.
This is the most common use of NETWORKDAYS: count the business days between a start date and an end date.
=NETWORKDAYS(B1, B2)
If B1 is 2026-01-01 and B2 is 2026-01-15, Excel counts only the weekdays in that range. This gives you a more realistic measure of working time than plain date subtraction.
In cell F1, count the working days between B1 and B2 with =NETWORKDAYS(B1,B2).
Add a holiday list when one or more weekdays in the range should not count as working days.
=NETWORKDAYS(B1, B2, H1)
If H1 contains 2026-01-01, that weekday is excluded from the result. This is a practical pattern for company holidays and public holiday calendars.
In cell F2, count working days between B1 and B2 while excluding the holiday in H1.
NETWORKDAYS is often used inside a TRUE/FALSE check when you need to enforce a business-day limit.
=NETWORKDAYS(B1, B2) > 5
This returns TRUE if the working-day window is more than five days, and FALSE otherwise. It is useful for SLA checks, lead-time alerts, and project controls.
In cell F3, test whether the business-day window from B1 to B2 is greater than 5.
Once you have the business-day count, you can multiply it by a daily rate to estimate cost or billable value.
=NETWORKDAYS(B1, B2) * 500
This pattern works well for contractor billing, payroll estimates, temporary staffing, and other models where each working day has a fixed value.
In cell F4, multiply the working-day count between B1 and B2 by a daily rate of 500.
NETWORKDAYS counts working days between two dates.NETWORKDAYS.INTL if you need a custom weekend pattern.Tell your friends about this post