How to Calculate Average Working Days in Excel (Excluding Weekends)
Question details
The user needs to calculate the average time taken to complete tasks by counting only working days, effectively excluding weekends and custom holidays.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Tracking task completion times, project management metrics, or employee performance evaluation where only active business days should be included in the average.
- Observed behavior
- To obtain an accurate average of working days across multiple tasks, the user must correctly nest the NETWORKDAYS or NETWORKDAYS.INTL functions within an AVERAGE function, or use dynamic arrays like MAP and LAMBDA for complex ranges.
Ensure your start dates and end dates are formatted correctly as standard Excel dates. If you plan to exclude specific dates, compile your public or company holidays into a dedicated cell range on your worksheet before applying the formulas.
Calculate Average Working Days Excluding Only Weekends
Use the combination of the AVERAGE and NETWORKDAYS functions to find the mean number of business days between multiple sets of start and end dates.
The standard NETWORKDAYS function automatically calculates the difference between dates while skipping Saturdays and Sundays. By passing range arrays into it and wrapping it in AVERAGE, you can quickly find the median timeframe for multiple projects.
Click on a blank cell in your worksheet where you want the calculated average working days to appear.
Type the formula =AVERAGE(NETWORKDAYS(A2:A6, B2:B6)) into the formula bar. Replace A2:A6 with the range containing your start dates and B2:B6 with your end dates.
Press Enter to execute the formula. Excel will output the average number of working days across all the specified date pairs, excluding standard weekends.

Exclude Both Weekends and Specific Holidays
Incorporate a holiday list into the NETWORKDAYS formula to exclude public or custom company holidays from your average working days calculation.
Use NETWORKDAYS.INTL for Custom Weekends and Holidays
Use the MAP, LAMBDA, and NETWORKDAYS.INTL functions to handle non-standard weekend days (such as Friday and Saturday) along with custom holidays.
Use WPS Spreadsheet to Calculate Average Business Days
WPS Spreadsheet fully supports Excel's advanced date functions, including NETWORKDAYS, NETWORKDAYS.INTL, and dynamic arrays. You can seamlessly calculate project timelines and average working days for free with full compatibility.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your task dates.
- 2. Enter the start and end dates: Ensure your start dates and end dates are inputted into two matching, parallel columns.
- 3. Type the formula: Click an empty cell and type the formula =AVERAGE(NETWORKDAYS(A2:A6, B2:B6)), adjusting the cell references to match your data.
- 4. Get the result instantly: Press Enter to instantly generate the average number of working days excluding weekends.

Frequently Asked Questions
Why does my NETWORKDAYS formula return a #VALUE! error?
This error typically occurs if the dates in your start, end, or holiday ranges are entered as text strings rather than recognized Excel serial dates. Select your date cells, right-click, choose 'Format Cells', and ensure they are properly formatted as Dates.
Can I calculate the average working days across non-contiguous cells?
Yes, but you cannot pass non-contiguous ranges directly into the NETWORKDAYS array. You must calculate the working days for each specific date pair individually using NETWORKDAYS in a helper column, and then use the AVERAGE function on the results of that helper column.
How does the weekend string parameter work in NETWORKDAYS.INTL?
The custom weekend parameter is a 7-character text string representing the days from Monday to Sunday. A '0' indicates a standard workday, and a '1' indicates a non-workday (weekend). For example, to set Thursday and Friday as the weekend, you would use the string '0001100'.




