ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before the interview. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Dates
  3. Count Working Days With NETWORKDAYS and WORKDAY

Count Working Days With NETWORKDAYS and WORKDAY

By ExcelReady Team·Updated October 30, 2026·6 min read

The short answer

NETWORKDAYS counts the working days (Monday to Friday) between two dates, including both dates: =NETWORKDAYS(start_date, end_date, [holidays]). WORKDAY does the reverse and returns the date a number of working days away: =WORKDAY(start_date, days, [holidays]). Both skip weekends, and both skip any dates you list as holidays.

Key takeaways

  • NETWORKDAYS counts Monday to Friday and includes both the start and end date, so one full week is 5.
  • WORKDAY doesn't count the start date: one working day after a Friday is the next Monday.
  • The optional holidays argument is a range of real dates; lock it with $ before filling down.
  • A negative number of days in WORKDAY counts backwards, which is handy for prep or order-by dates.
  • For other weekends, such as Friday and Saturday, use NETWORKDAYS.INTL and WORKDAY.INTL.
On this page+
  1. How do NETWORKDAYS and WORKDAY differ?
  2. Why not just subtract the dates?
  3. How to use NETWORKDAYS in Excel
  4. How to use WORKDAY to find a deadline
  5. What if your weekend isn't Saturday and Sunday?
  6. What are the common mistakes?
  7. Practise it

NETWORKDAYS in Excel counts the working days between two dates, leaving out weekends and any holidays you list. WORKDAY answers the opposite question: what date is a number of working days away? Project plans, delivery promises, payroll and leave requests all use them. This guide works through both on one small project sheet.

How do NETWORKDAYS and WORKDAY differ?#

NETWORKDAYS returns a count of days. WORKDAY returns a date.

FunctionSyntaxYou knowYou get
NETWORKDAYS=NETWORKDAYS(start_date, end_date, [holidays])Two datesThe number of working days
WORKDAY=WORKDAY(start_date, days, [holidays])A start date and a number of daysThe finish date

A working day here means Monday to Friday. The square brackets mean holidays is optional: a range of dates to skip as well. Both functions work in every current version of Excel on Windows, Mac and the web.

Why not just subtract the dates?#

Subtraction counts every day, weekends included. Here are four projects from 2025:

ProjectStartEnd=C2-B2=NETWORKDAYS(B2,C2)
Website refreshMon Jan 6Fri Jan 312520
Vendor reviewWed Jan 15Tue Feb 42015
Payroll auditMon Feb 3Fri Feb 211815
Training planMon May 19Fri May 301110

The Website refresh runs for four weeks, Monday to Friday. Subtraction gives 25, which counts weekends and leaves out the first day. NETWORKDAYS gives 20: four weeks of five working days. For plain day counts, see how to count the days between two dates.

How to use NETWORKDAYS in Excel#

NETWORKDAYS takes the start date, then the end date. It includes both days if they are working days, so a single Monday to Friday week gives 5, not 4.

Excel formula
=NETWORKDAYS(B2,C2)

If the start date is after the end date, the answer is negative. If you get -20 where you expected 20, swap B2 and C2.

How to skip holidays#

List the holiday dates in a range, such as I2:I4, and add it as the third argument:

Excel formula
=NETWORKDAYS(B2,C2,$I$2:$I$4)

With holidays on Jan 20, Feb 17 and May 26, 2025, the counts drop to 19, 14, 14 and 9. Each holiday is a Monday that falls inside at least one project. A holiday on a Saturday or Sunday changes nothing, because that day was already skipped.

The dollar signs lock the range so it stays on I2:I4 when you fill the formula down. Press F4 (Windows) or ⌘T (Mac) on the range to add them. The holiday cells must hold real dates. Build them with DATE, like =DATE(2025,1,20), if typed dates might be read differently on another computer: 1/2/2025 is January 2 in the US but February 1 in the UK.

How to use WORKDAY to find a deadline#

WORKDAY starts from a date, moves a number of working days, and returns the date it lands on. It doesn't count the start date, so one working day after a Friday is the next Monday.

Excel formula
=WORKDAY(B2,E2,$I$2:$I$4)
ProjectStartLead time (days)Ready by
Website refreshMon Jan 610Tue Jan 21
Vendor reviewWed Jan 158Tue Jan 28
Payroll auditMon Feb 312Thu Feb 20
Training planMon May 196Wed May 28

Ten working days after Jan 6 would normally be Monday Jan 20, but that's a holiday, so WORKDAY moves to Tuesday Jan 21. The result is a date serial number; format the cell as a date to read it. Its display follows your regional settings.

How to count backwards#

A negative number of days counts back in time. Prep work that must start five working days before each project:

Excel formula
=WORKDAY(B2,-5,$I$2:$I$4)

For the Website refresh, that's Monday Dec 30, 2024. Use the same idea for "order by" or "submit by" dates.

A useful trick: =WORKDAY(B2-1,1) returns B2 itself if it's a working day, or the next working day if it falls on a weekend. It's a quick way to push weekend dates to Monday.

What if your weekend isn't Saturday and Sunday?#

Use NETWORKDAYS.INTL and WORKDAY.INTL. They add a weekend argument before the holidays:

Excel formula
=NETWORKDAYS.INTL(B2,C2,7,$I$2:$I$4)
=WORKDAY.INTL(B2,10,"0000011",$I$2:$I$4)
Weekend codeDays off
1 (default)Saturday and Sunday
7Friday and Saturday
11Sunday only
17Saturday only
"0000011"A custom pattern: seven digits from Monday to Sunday, 1 = day off

The text pattern lets you describe any working week. "0000011" is the normal Saturday and Sunday weekend, and "0000111" is a four-day week with Friday off. Both .INTL functions need Excel 2010 or later.

What are the common mistakes?#

MistakeWhat happensFix
End date first in NETWORKDAYSA negative countStart date first
Holiday range not lockedRows lower down miss holidays$I$2:$I$4
Holidays typed as textHolidays are ignored or you get #VALUE!Use real dates, for example DATE(...)
Expecting WORKDAY to count the start dayThe deadline is one day later than you plannedUse one day fewer, or start the day before
Result shows as 45678It's a serial numberApply a date format

To check which day of the week a date falls on, use WEEKDAY. See how to find weekends and day names with WEEKDAY. For building dates from parts, see DATE, YEAR, MONTH and DAY in Excel. Working days also matter for HR questions like notice periods; see how to calculate age or years of service for the tenure side.

Practise it#

Try the holiday exercise on this page, then practise NETWORKDAYS and WORKDAY in a live spreadsheet. You'll count project days, add a locked holiday list, find ready-by dates and count backwards to prep dates.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

The office is closed on the holidays in F2:F4. In D2, count the working days for the Website refresh project, from the start in B2 to the end in C2, skipping weekends and holidays. Use NETWORKDAYS with the holiday range locked as $F$2:$F$4.

fx
ABCDEFG
1
Project
Start
End
Workdays
Holidays
2
Website refresh
45663
45688
45677
3
Vendor review
45672
45692
45705
4
Payroll audit
45691
45709
45803
5
Training plan
45796
45807
6
7
8

Tip: NETWORKDAYS takes the start date, the end date, then the holiday range. Add $ signs so the range stays put.

Practise this in a lesson

LessonWorkdays: NETWORKDAYS and WORKDAYCount working days between two dates with NETWORKDAYS and find a deadline a number of working days away with WORKDAY, skipping weekends and a holiday list.

Frequently asked questions

Does NETWORKDAYS include the start date?

+

Yes. NETWORKDAYS counts both the start and the end date if they are working days, so Monday to Friday of the same week is 5.

How do I exclude holidays in NETWORKDAYS?

+

List the holiday dates in cells and add the range as the third argument: =NETWORKDAYS(B2,C2,$I$2:$I$4). Holidays that fall on a weekend don't change the count.

What is the difference between NETWORKDAYS and WORKDAY?

+

NETWORKDAYS counts the working days between two dates you know. WORKDAY starts from one date and returns the date a number of working days later or earlier.

How do I count working days with a Friday and Saturday weekend?

+

Use NETWORKDAYS.INTL with weekend code 7: =NETWORKDAYS.INTL(B2,C2,7). You can also use a seven-character code like "0000110", where each 1 marks a day off, starting with Monday.

Why does WORKDAY return a number like 45678?

+

WORKDAY returns a date serial number. Format the cell as a date with Ctrl+Shift+# or from the Number Format list on the Home tab.

Sources

  • NETWORKDAYS function - Microsoft Support
  • WORKDAY function - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How do NETWORKDAYS and WORKDAY differ?
  2. Why not just subtract the dates?
  3. How to use NETWORKDAYS in Excel
  4. How to use WORKDAY to find a deadline
  5. What if your weekend isn't Saturday and Sunday?
  6. What are the common mistakes?
  7. Practise it

Keep reading

Dates· 6 min read

Calculate Age or Years of Service in Excel

To calculate age in Excel, use =DATEDIF(B2,TODAY(),"Y"), where B2 is the birth date. It counts complete years, so the age only goes up on the birthday. Years of service work the same way with the hire date. For a report that must not change, replace TODAY() with a fixed "as of" date cell.

Dates· 6 min read

WEEKDAY in Excel: Find Weekends and Day Names

The Excel WEEKDAY function returns the day of the week as a number: =WEEKDAY(date) gives 1 for Sunday through 7 for Saturday. Add a return type of 2, as in =WEEKDAY(date,2), to make Monday 1 and Sunday 7. Then =WEEKDAY(date,2)>5 is TRUE only for Saturdays and Sundays.

Dates· 6 min read

DATE, YEAR, MONTH and DAY in Excel

The Excel DATE function builds a real date from three numbers: =DATE(year, month, day), always in that order. YEAR, MONTH and DAY do the opposite and pull one part out of a date, like =YEAR(B2). Because Excel stores dates as serial numbers, the results can be added, subtracted and compared.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free