Excel functions / Dates

NETWORKDAYS

Counts the working days between two dates, leaving out weekends.

Syntax=NETWORKDAYS(start_date, end_date, [holidays])

Arguments

start_date, end_dateThe two dates. Both are counted if they are weekdays.
holidaysOptional. A range of dates to leave out as well.

How it works

Subtracting two dates gives calendar days. NETWORKDAYS gives working days, Monday to Friday, which is what project plans and service deadlines usually need.

Add a list of public holidays as the third argument to skip those too.

Example

E2=NETWORKDAYS(B2,C2)
ABCDE
1TaskStartEnd
2Design2026-01-012026-01-1511
3Build2026-01-152026-02-14
4

Result: 11. Weekdays from the start to the end of the Design task.

Tips

Practise NETWORKDAYS

Try it yourself in a real spreadsheet, with instant feedback on every answer.

Start the exercise

Related