1NETWORKDAYS
=NETWORKDAYS(A2,B2)
- Type =NETWORKDAYS(A2,B2) to count working days, both ends included.
- Fill the formula down for the other rows.
Count business days between two dates with NETWORKDAYS, skip a holiday list, and use NETWORKDAYS.INTL for different weekends.
You need the number of working days between a start and end date, for a delivery promise, a contract term or a payroll period. Weekends should not count, and often public holidays should not either.
NETWORKDAYS does this. It counts Monday to Friday between two dates, and includes both the start date and the end date when they are working days. Subtracting the two dates would count calendar days, which is a different answer.
=NETWORKDAYS(A2, B2)
To exclude holidays, keep them in their own range and pass it as the third argument: =NETWORKDAYS(A2, B2, $F$2:$F$4). Lock the range with $ so the formula can be filled down. The holidays must be real dates, not text that looks like dates. If a holiday falls on a weekend it is not subtracted twice.
Not every business works Monday to Friday. NETWORKDAYS.INTL lets you choose the weekend. The second argument after the dates is a code: 1 is Saturday and Sunday, 11 is Sunday only, and 7 is Friday and Saturday. There is also a seven-character text option such as "0000011" where 1 marks a day off, starting with Monday.
To go the other way, from a start date and a number of working days to an end date, use WORKDAY instead. The Dates and finance track covers both.
=NETWORKDAYS(A2,B2)
=NETWORKDAYS(A2,B2,$F$2:$F$4)
=NETWORKDAYS.INTL(A2,B2,11)
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 (Monday to Friday) from A2 to B2, both days included. Fill down to C7.
Answer in C2, then it fills down to C7.
Dates and financial modelling covers this in lesson 7, Working days and deadlines.