Function Problems

Calculate Working Days Between Dates in Excel Excluding Holidays

Amos GikundaAmos Gikunda Dec 2, 2026 869 views

Question details

Calculate the number of working days between two dates while excluding weekends and listed holidays.

Calculate Working Days Between Dates in Excel Excluding Holidays
Product
Microsoft Excel
Device & OS
not provided
Scenario
A start date, an end date, and a list of holidays are available in a spreadsheet.
Observed behavior
The desired result is a count of working days that excludes holidays and the applicable weekend days.
Before you start

Enter the start and end dates as valid Excel dates in A2 and B2, and enter holiday dates in E2:E20. Check that the dates are recognized as dates rather than text.

Solution 1Recommended

Use NETWORKDAYS for a Saturday–Sunday weekend

Count weekdays between two dates while excluding the holidays in a specified range.

1
Enter the dates

In your Excel worksheet, enter the start date in A2, the end date in B2, and holiday dates in E2:E20.

2
Enter the formula

Select a result cell, enter =NETWORKDAYS(A2,B2,$E$2:$E$20), and press Enter.

3
Copy the formula if needed

Drag the result cell's fill handle down to calculate additional rows. The dollar signs keep the holiday range fixed.

Use NETWORKDAYS for a Saturday–Sunday weekend
Inclusive date range: The start and end dates are included in the count if they are working days and are not listed as holidays.
Calculate working days in WPS

Count Working Days and Holidays in WPS Spreadsheet

Use NETWORKDAYS in WPS Spreadsheet to count weekdays between two dates and exclude a holiday range.

  1. 1. Open your spreadsheet: Open WPS Spreadsheet and create a workbook or open an existing Excel file.
  2. 2. Enter the dates: Enter the start date in A2, the end date in B2, and holiday dates in E2:E20.
  3. 3. Calculate the result: Select a result cell, enter =NETWORKDAYS(A2,B2,$E$2:$E$20), and press Enter.
  4. 4. Save the workbook: Select File > Save As and choose XLSX if you want to save the workbook in Excel format.
Calculate working days while excluding listed holidaysOpen and edit Microsoft Excel XLSX filesCopy formulas across rows using a fixed holiday rangeWork in a familiar spreadsheet interface
QA img-9

Frequently Asked Questions

Does NETWORKDAYS include the start and end dates?

Yes. NETWORKDAYS includes each endpoint if it is a working day and is not in the holiday list.

How do I calculate working days without a holiday list?

Enter =NETWORKDAYS(A2,B2) in a result cell to count Monday through Friday between the dates in A2 and B2.

How can I exclude Friday and Saturday instead of Saturday and Sunday?

Use =NETWORKDAYS.INTL(A2,B2,"0000110",$E$2:$E$20). The pattern runs from Monday to Sunday, and 1 marks a nonworking day.

Why does my working-days formula return a date error?

Check that A2, B2, and the holiday cells contain valid dates rather than text. Re-enter any unrecognized dates using a date format Excel accepts.