Skip to content

NETWORKDAYS

Counts the working days between two dates, inclusive, skipping Saturdays, Sundays and any holidays you list.

Syntax

=NETWORKDAYS(, , )

Date and time

All versions of Excel.

Try it

Edit the formula in C2 or change the inputs. The sheet recalculates as you type.

C2
A
B
C
1
Start
End
Working days
2
03-Mar-2025
14-Mar-2025
10
3

C2 =NETWORKDAYS(A2,B2) returns 10

How NETWORKDAYS works

NETWORKDAYS counts the working days between two dates. It treats Saturday and Sunday as days off and can also skip a list of holidays. Use it for project durations, service-level targets, payroll days and lead times. =NETWORKDAYS(A2,B2) with Monday 3 March and Friday 14 March 2025 returns 10.

The three arguments

  • start_date and end_date are both included. If you start on a Monday and end on the same Monday, the answer is 1, not 0. That is the opposite of plain subtraction, where B2-A2 is 0 for the same day. To count the days between without the start day, subtract 1: =NETWORKDAYS(A2,B2)-1.
  • holidays is optional. Point at a range of dates, such as a named range Holidays, and any working day in it is removed from the count. Keep the list on its own sheet or range, and lock it with dollar signs ($F$2:$F$12) when you fill the formula down.

If end_date is before start_date, you get a negative count: =NETWORKDAYS(B2,A2) is the negative of NETWORKDAYS(A2,B2).

Weekends

The default weekend is Saturday and Sunday and can't be changed here. For a different weekend, such as Friday and Saturday, or a six-day week, use NETWORKDAYS.INTL. It also lets you mark individual days of the week as working or not.

Patterns

  • Working days in a month: =NETWORKDAYS(A2,EOMONTH(A2,0)) with A2 on the first of the month.
  • Working days left this month: =NETWORKDAYS(TODAY(),EOMONTH(TODAY(),0)).
  • Turnaround time: =NETWORKDAYS(received,completed)-1 gives the whole working days elapsed.
  • Business days overdue: =NETWORKDAYS(due,TODAY())-1.
  • Working days between with holidays: =NETWORKDAYS(A2,B2,Holidays).

NETWORKDAYS and WORKDAY

NETWORKDAYS answers "how many working days between these two dates?". WORKDAY answers the reverse: "which date is N working days from this one?". They use the same weekend and holiday rules, so a result from one can be checked against the other.

Time of day is ignored

Dates with a time attached count as the whole day. Only the whole-number part matters. If your data holds timestamps, you don't need to strip the time first.

NETWORKDAYS counts days, not hours. If you need working hours, multiply by the length of your working day, then adjust for any part days at each end.

Arguments

start_date
The first day of the period. If it is a working day, it is counted.
end_date
The last day of the period. If it is a working day, it is counted. If end_date is earlier than start_date, the result is negative.
holidaysoptional
A range or list of dates to treat as non-working days, such as F2:F10. Dates that fall on a weekend are ignored. Leave it out to count only weekends as days off.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Working days in a fortnight

C2 =NETWORKDAYS(A2,B2)

Result: 10

Monday 3 March to Friday 14 March spans 12 calendar days. Two weekends are removed, and both end days are counted, leaving 10.

C2
A
B
C
1
Start
End
Working days
2
03-Mar-2025
14-Mar-2025
10
3

C2 =NETWORKDAYS(A2,B2) returns 10

Example 2

Skip a public holiday

C2 =NETWORKDAYS(A2,B2,E2:E3)

Result: 9

The Monday holiday on 10 March removes one day. The date in E3 falls on a Saturday that is already a weekend, so it changes nothing.

C2
A
B
C
D
E
1
Start
End
Working days
Holidays
2
03-Mar-2025
14-Mar-2025
9
10-Mar-2025
3
08-Mar-2025
4

C2 =NETWORKDAYS(A2,B2,E2:E3) returns 9

Example 3

Working days in a whole month

B2 =NETWORKDAYS(A2,EOMONTH(A2,0))

Result: 21

March 2025 has 31 days. Five Saturdays and five Sundays are removed, leaving 21 working days.

B2
A
B
C
1
Month start
Working days
2
01-Mar-2025
21
3

B2 =NETWORKDAYS(A2,EOMONTH(A2,0)) returns 21

Example 4

Whole working days elapsed

C2 =NETWORKDAYS(A2,B2)-1

Result: 4

Monday to Friday is five working days inclusive. Subtracting 1 gives the four days that passed between receipt and resolution.

C2
A
B
C
1
Received
Resolved
Days to resolve
2
03-Mar-2025
07-Mar-2025
4
3

C2 =NETWORKDAYS(A2,B2)-1 returns 4

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In C2, count the working days from the start date to the end date, both included. Fill it down to C4.

Answer in C2, then it fills down to C4.

C2
A
B
C
D
E
F
1
Start
End
Working days
Less holidays
Holidays
2
03-Mar-2025
14-Mar-2025
10-Mar-2025
3
17-Mar-2025
28-Mar-2025
04-Apr-2025
4
31-Mar-2025
11-Apr-2025
5

Common mistakes

  • Both ends are counted. The same start and end date returns 1 on a working day, so for "days elapsed" subtract 1.
  • The holiday list must be real dates. A list of text dates is ignored without a warning, so the count comes out too high.
  • Fill-down breaks an unlocked holiday range: E2:E10 becomes E3:E11. Write $E$2:$E$10, or use a named range.
  • The weekend can't be changed. For Friday and Saturday weekends or a six-day week, use NETWORKDAYS.INTL.
  • A start date after the end date gives a negative number, not an error. Check the order if a duration looks wrong.

Questions people ask

How do I count working days between two dates in Excel?

Use `=NETWORKDAYS(A2,B2)`. Add a holiday range as a third argument, such as `=NETWORKDAYS(A2,B2,$F$2:$F$12)`.

Does NETWORKDAYS include the start date?

Yes, if it is a working day. The end date is included too. Subtract 1 if you want the number of days that passed.

How do I exclude holidays?

List the holiday dates in a range and pass it as the third argument. Use real dates, and lock the range with dollar signs when filling down.

How do I use a different weekend?

Use NETWORKDAYS.INTL. Its third argument sets the weekend, either with a code such as `7` for Friday and Saturday or with a seven-character pattern.

What is the difference between NETWORKDAYS and DAYS?

DAYS counts every calendar day between two dates and excludes the start day. NETWORKDAYS counts only working days, includes both end dates, and can skip holidays.

Learn NETWORKDAYS in a real sheet.

NETWORKDAYS is taught in Dates and financial modelling, lesson 7: Working days and deadlines. Each lesson is a short, graded exercise like the one above.