Dates and Times

How to Exclude Weekends and Holidays With NETWORKDAYS

Count working days between two dates in Excel with NETWORKDAYS, skipping weekends and a list of holidays, plus NETWORKDAYS.INTL for other weekends.

On this page
  1. Add a list of holidays
  2. Other weekend patterns with NETWORKDAYS.INTL
  3. Work out a due date in working days
  4. Checks when the count looks wrong
  5. Where to go next

NETWORKDAYS counts the working days between two dates. By default, it counts Monday through Friday and skips Saturdays and Sundays. Both the start and end dates count if they fall on a working day.

=NETWORKDAYS(start_date, end_date, [holidays])

For example, January 2, 2026, is a Friday, and January 9, 2026, is also a Friday. The working days in that range are January 2, 5, 6, 7, 8 and 9, so =NETWORKDAYS(A2,B2) returns 6.

Add a list of holidays

Type the holiday dates in one column, such as H2 to H10. Then give that range as the third argument:

=NETWORKDAYS(A2,B2,$H$2:$H$10)

The dollar signs lock the holiday range, so it stays the same when you copy the formula down. If January 6, 2026, is on the holiday list, the same formula returns 5. A holiday that falls on a Saturday or Sunday changes nothing, because those days already aren’t counted. The reason for the dollar signs is covered in how to lock cell reference in excel.

Other weekend patterns with NETWORKDAYS.INTL

Some countries and workplaces have a different weekend. NETWORKDAYS.INTL takes a weekend argument before the holidays:

=NETWORKDAYS.INTL(start_date, end_date, weekend, [holidays])

  • Leave the weekend argument out, or use 1, for Saturday and Sunday.
  • Use 11 for Sunday only.
  • Use 7 for Friday and Saturday.

You can also give a seven-character text string that starts with Monday, where 1 marks a day off and 0 marks a working day. For Friday and Saturday off, the string is “0000110”. For Sunday only, it’s “0000001”.

Work out a due date in working days

WORKDAY works the other way. It returns the date that is a set number of working days after the start date:

=WORKDAY(A2,10,$H$2:$H$10)

This returns the date ten working days after the date in A2, skipping the holidays in the list.

Checks when the count looks wrong

  • If the end date is before the start date, the result is negative. Swap the dates.
  • Holiday cells should hold real dates. Check that they’re right-aligned, because a holiday typed as text may not be excluded.
  • The count includes both ends. To leave out the start day, subtract 1.
  • The working week varies by country and employer, so confirm the weekend pattern before you rely on the count.

Where to go next

Calendar-day counts are a different job, covered in how to count days between two dates in excel. Once the working-day count is right in one row, copy the formula down the column and spot-check a few ranges by hand.

The complete guide to dates and times

How to Work With Dates in Excel
Read the guide

Keep exploring

Guides from other topics

All topics →