Calculate Working Days Between Dates in Excel Excluding Holidays
Question details
Calculate the number of working days between two dates while excluding weekends and listed 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.
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.
Use NETWORKDAYS for a Saturday–Sunday weekend
Count weekdays between two dates while excluding the holidays in a specified range.
In your Excel worksheet, enter the start date in A2, the end date in B2, and holiday dates in E2:E20.
Select a result cell, enter =NETWORKDAYS(A2,B2,$E$2:$E$20), and press Enter.
Drag the result cell's fill handle down to calculate additional rows. The dollar signs keep the holiday range fixed.

Use NETWORKDAYS.INTL for a custom weekend
Choose this method when nonworking weekend days differ from Saturday and Sunday.
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. Open your spreadsheet: Open WPS Spreadsheet and create a workbook or open an existing Excel file.
- 2. Enter the dates: Enter the start date in A2, the end date in B2, and holiday dates in E2:E20.
- 3. Calculate the result: Select a result cell, enter =NETWORKDAYS(A2,B2,$E$2:$E$20), and press Enter.
- 4. Save the workbook: Select File > Save As and choose XLSX if you want to save the workbook in Excel format.

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.




