The NETWORKDAYS function
NETWORKDAYS counts Monday to Friday days between two dates, including both ends. Give it a list of bank holidays and those are left out too.
It's the function for working out how many days someone worked in a month, or how many working days a project has.
=NETWORKDAYS(start_date, end_date, [holidays])
Arguments
- start_date
- The first date. It is counted if it's a weekday.
- end_date
- The last date. It is counted too.
- holidaysoptional
- A range of dates to skip as well, such as bank holidays.
Try it
=NETWORKDAYS(A2,B2,E2:E5) in C2. April 2025 has 22 weekdays. Good Friday and Easter Monday are bank holidays, leaving 20 working days.
C2
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Start | End | Working days | Bank holidays | ||
| 2 | 1 Apr 2025 | 30 Apr 2025 | 20 | 18 Apr 2025 | ||
| 3 | 1 May 2025 | 31 May 2025 | 21 Apr 2025 | |||
| 4 | 5 May 2025 | |||||
| 5 | 26 May 2025 | |||||
| 6 | ||||||
| 7 |
Edit the formula in C2, or change the data, and press Enter.
More examples
| Formula | Result | What it does |
|---|---|---|
| =NETWORKDAYS(A2,B2) | 22 | Without the holiday list, only weekends are skipped. |
| =NETWORKDAYS(A3,B3,E2:E5) | 20 | May 2025: 22 weekdays minus the two May bank holidays. |
| =NETWORKDAYS(DATE(2025,3,14),DATE(2025,3,17)) | 2 | Friday to Monday is two working days, because both ends count. |
Tips
- Keep bank holidays in their own list and refer to it with
$anchors, e.g.$E$2:$E$5, so you can fill the formula down. - For a different weekend (say Friday and Saturday), Excel has NETWORKDAYS.INTL.
- To find a date a number of working days away, use WORKDAY instead.
Common mistakes
- The count is one more than you expected.NETWORKDAYS counts both the start and end date. Subtract 1 if you want the gap between them.
- Bank holidays are still counted.Check the holiday cells hold real dates, not text, and that the range covers them all.
- Filling the formula down moves the holiday range.Anchor it:
$E$2:$E$5.
Practise NETWORKDAYS with instant feedback
Type real formulas into a working spreadsheet and get told straight away whether they work.