মূল বিষয়বস্তুতে যান
Date & TimeIntermediate LevelIntermediate Excel (Lookups & Business Analytics)

How to Use NETWORKDAYS in Excel

Counts working days between two dates while excluding weekends and your own holiday list.

Direct Answer (Quick Summary)

What is NETWORKDAYS in Microsoft Excel?

NETWORKDAYS returns how many Monday-to-Friday days fall between two dates, minus any dates you list as holidays. It is the correct way to measure turnaround time, SLA compliance and leave balances. Use NETWORKDAYS.INTL when your weekend is not Saturday and Sunday.

Pro Tip: Both dates are inclusive. NETWORKDAYS(DATE(2026,11,2),DATE(2026,11,6)) returns 5, not 4. Subtract 1 if you need the gap rather than the count of working days.

Formula Syntax

=NETWORKDAYS(start_date, end_date, holidays)

Arguments Breakdown

ArgumentRequirementPurpose & Details
start_dateRequiredThe first date, counted if it is a working day.
end_dateRequiredThe last date, also counted when it is a working day.
holidaysOptionalA range of dates to exclude, such as a named HolidayList table.

When to Use NETWORKDAYS (Real-World Business Scenarios)

  • 1

    Measuring actual working days a support ticket stayed open.

  • 2

    Calculating leave days used, excluding weekends and public holidays.

  • 3

    Setting an SLA deadline of 5 working days from a request date.

Step-by-Step Practical Business Example

Suppose you have the following dataset in Excel cells A1:D4:

TicketOpenedClosedWorking Days
T-1012026-11-022026-11-065
T-1022026-11-052026-11-093
T-1032026-10-302026-11-033
Applied Formula:Result: 5
=NETWORKDAYS(B2,C2,Holidays)

How it works: Counts Monday to Friday between the two dates and removes any date that appears in the Holidays range.

Common Errors & How to Fix Them

Result is negative

Why it happens: The end date is earlier than the start date.

Fix: Swap the arguments or guard with IF(C2<B2,0,NETWORKDAYS(B2,C2)).

Weekends are counted

Why it happens: The weekend in your region is not Saturday and Sunday, for example Friday and Saturday in parts of the Middle East.

Fix: Use NETWORKDAYS.INTL and pass the correct weekend code, such as 7 for Friday and Saturday.

Interactive Formula Lab

Try NETWORKDAYS Live in Your Browser

No need to launch desktop Excel. Practice formulas with real-time feedback in our HyperFormula sandbox.

Open Practice Lab

Frequently Asked Questions (NETWORKDAYS)

What does the NETWORKDAYS formula do in Excel?

NETWORKDAYS returns how many Monday-to-Friday days fall between two dates, minus any dates you list as holidays. It is the correct way to measure turnaround time, SLA compliance and leave balances. Use NETWORKDAYS.INTL when your weekend is not Saturday and Sunday.

What is the syntax for NETWORKDAYS?
=NETWORKDAYS(start_date, end_date, holidays)
What are common mistakes when using NETWORKDAYS?

Result is negative: The end date is earlier than the start date. (Swap the arguments or guard with IF(C2<B2,0,NETWORKDAYS(B2,C2)).) Weekends are counted: The weekend in your region is not Saturday and Sunday, for example Friday and Saturday in parts of the Middle East. (Use NETWORKDAYS.INTL and pass the correct weekend code, such as 7 for Friday and Saturday.)

Keep building your formula toolkit with these date & time functions.

Browse all 41 Excel formulas
Ready to Master Microsoft Excel?

Master NETWORKDAYS in Intermediate Excel

Learn NETWORKDAYS along with our formula library, practice files, and verifiable certificates in our complete curriculum.

Strictly necessary