Cellgrids Cellgridsby LearnWithRinkesh
Home › Excel tutorials › How to Calculate Working Days in Excel (NETWORKDAYS)

How to Calculate Working Days Between Dates in Excel (NETWORKDAYS)

By Rinkesh Shah · Business Analyst, 8 years in data · Updated 2026-10-31

▶ Video coming soon

NETWORKDAYS counts business days between two dates and excludes weekends. You can also exclude public holidays.

Syntax

=NETWORKDAYS(start_date, end_date, [holidays])

Basic example

With the start date in A2 and the end date in B2:

=NETWORKDAYS(A2, B2)

Both the start and end dates are counted if they are working days.

Exclude holidays

List your public holidays in a range, for example F2:F12, and add it as the third argument:

=NETWORKDAYS(A2, B2, $F$2:$F$12)

Different weekends: NETWORKDAYS.INTL

If your weekend is Friday and Saturday, or you work six days a week, use:

=NETWORKDAYS.INTL(A2, B2, 7, $F$2:$F$12)

The third argument is a weekend code. Code 1 is Saturday and Sunday, 7 is Friday and Saturday, and 11 is Sunday only.

Find a deadline: WORKDAY

=WORKDAY(A2, 10, $F$2:$F$12) returns the date that is 10 working days after A2.

Useful for

Make sure the dates are real dates, not text, or you will get #VALUE!.

Worked example

Start 1-Oct-2026 in A2 and end 31-Oct-2026 in B2. =NETWORKDAYS(A2,B2) counts weekdays between them, both days included. Add holidays: =NETWORKDAYS(A2,B2,E2:E5).

Common mistakes

Frequently asked questions

How do I set a different weekend?

Use NETWORKDAYS.INTL, for example =NETWORKDAYS.INTL(A2,B2,11) for Sunday only.

Does it include the start date?

Yes, if it is a working day.

How do I add working days to a date?

Use WORKDAY.

Practice this online, free

Reading is only half of learning Excel. Cellgrids is a free place for online Excel practice: solve Excel formula exercises in a live spreadsheet, prepare for Excel interview questions, and work through business case studies built for data analytics and business analytics roles.

Practice these formulas: NETWORKDAYS, WORKDAY, DATEDIF.

Start Excel practice → Case studies