
Project tracking needs working days, not calendar days. Two Excel functions solve this.
NETWORKDAYS: working days between two dates
=NETWORKDAYS(start, end, [holidays])=NETWORKDAYS(A2,B2)
=NETWORKDAYS(A2,B2,F2:F12)Saturdays and Sundays are not counted. Both end dates are included if they are working days. Pass a list of public holidays as the third argument to exclude them as well.
WORKDAY: the date N working days later
=WORKDAY(start, days, [holidays])=WORKDAY(A2,10,F2:F12)Returns the date 10 working days after the date in A2. A negative number goes backwards. If the result shows as a number, format the cell as Short Date.
Building the holiday list
- Type public-holiday dates into an empty range, one cell per holiday.
- Lock the range:
$F$2:$F$12. - Update the list every year. Some holidays move from year to year.
When the weekend is different
For countries with a Friday-Saturday weekend or workplaces with six-day weeks, use the long versions:
=NETWORKDAYS.INTL(A2,B2,7)
=WORKDAY.INTL(A2,10,7)Here 7 stands for a Friday-Saturday weekend. Code 11 treats only Sunday as the weekend.
Common mistakes
- #VALUE! error: dates are stored as text. Convert with
=DATEVALUE(A2). - Result off by one: NETWORKDAYS counts the start day too, so subtract 1 for "days elapsed".
- Text in the holiday list: holiday cells must be real dates.
Example: delivery date
With the order date in A2 and a standard 5-working-day delivery:
=WORKDAY(A2,5,Holidays)For calendar days between dates, see our date difference guide.
Step-by-step example: a project schedule and delivery time
Suppose you have a project task table: column A the start, column B the duration in working days, column C the end date. Holidays sit on a separate "Holidays" sheet.
| Cell | Formula | Meaning |
|---|---|---|
| C2 | =WORKDAY(A2,B2,Holidays!$A$2:$A$20) | B2 working days after the start |
| D2 | =NETWORKDAYS(A2,C2,Holidays!$A$2:$A$20) | How many working days between start and end |
| E2 | =NETWORKDAYS(TODAY(),C2,Holidays!$A$2:$A$20)-1 | Working days left from today to delivery |
If you give the holiday range a name (for example "Holidays") the formulas become readable: =WORKDAY(A2,B2,Holidays). You can name it with Formulas > Define Name.
Chained tasks
If you want a task to start when the previous one finishes, link the end formula to the next task's start: =WORKDAY(C2,1,Holidays). When one task slips the rest of the chain updates automatically. For a visual timeline see our Gantt chart guide.
Shifts and half days
NETWORKDAYS counts whole days. To handle half-day leave, subtract manually from the result, or keep leave days in a separate column and subtract them rather than adding them to the holiday list. For hour-based working time it is more accurate to use the date-time difference (=(B2-A2)*24) (see our date difference guide).
Frequently asked questions
What if a public holiday falls on a weekend? The function already skips weekends; the overlap causes no problem.
What if the same date appears twice in the holiday list? It doesn't affect the result, but keep the list clean.
Which days does Excel treat as the weekend? Saturday and Sunday by default. For a different pattern use the .INTL versions; you can also define the weekend with a 7-character string like "0101000" (1 = day off, starting from Monday).
Does it work in Google Sheets? Yes. NETWORKDAYS and WORKDAY are available there under their English names.
How do I handle movable holidays? Because their dates change every year, update the holiday list at the start of each year from the official calendar and don't forget to keep it current.
Serkan Akyürek is the founder and author of toolrota; he writes step-by-step guides on Excel, AI, the cloud, personal finance and digital security.