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 =NETWORKDAYS(A2,B2) returns 10
Counts the working days between two dates, inclusive, skipping Saturdays, Sundays and any holidays you list.
Syntax
=NETWORKDAYS(, , )
All versions of Excel.
Try it
Edit the formula in C2 or change the inputs. The sheet recalculates as you type.
C2 =NETWORKDAYS(A2,B2) returns 10
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.
B2-A2 is 0 for the same day. To count the days between without the start day, subtract 1: =NETWORKDAYS(A2,B2)-1.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).
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.
=NETWORKDAYS(A2,EOMONTH(A2,0)) with A2 on the first of the month.=NETWORKDAYS(TODAY(),EOMONTH(TODAY(),0)).=NETWORKDAYS(received,completed)-1 gives the whole working days elapsed.=NETWORKDAYS(due,TODAY())-1.=NETWORKDAYS(A2,B2,Holidays).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.
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.
F2:F10. Dates that fall on a weekend are ignored. Leave it out to count only weekends as days off.Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
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 =NETWORKDAYS(A2,B2) returns 10
Example 2
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 =NETWORKDAYS(A2,B2,E2:E3) returns 9
Example 3
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 =NETWORKDAYS(A2,EOMONTH(A2,0)) returns 21
Example 4
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 =NETWORKDAYS(A2,B2)-1 returns 4
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.
E2:E10 becomes E3:E11. Write $E$2:$E$10, or use a named range.Use `=NETWORKDAYS(A2,B2)`. Add a holiday range as a third argument, such as `=NETWORKDAYS(A2,B2,$F$2:$F$12)`.
Yes, if it is a working day. The end date is included too. Subtract 1 if you want the number of days that passed.
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.
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.
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.
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.