Excel and Google Sheets NETWORKDAYS Calculator
Generate formulas that exclude weekends and holidays.
How the Excel and Google Sheets NETWORKDAYS Calculator Works
Pick the start and end dates. Copy the NETWORKDAYS formula into Excel or Google Sheets. It counts workdays from Monday to Friday, includes both dates if they are workdays, and skips any holidays you supply.
Enter the start date
Enter the first date of the range.
Enter the end date
Enter the last date of the range.
Add a holiday range
Point the optional third argument at a list of holiday dates, such as H2:H12.
Copy the formula
Paste the NETWORKDAYS formula into the cell that shows the working-day total.
How the Count Is Calculated
NETWORKDAYS counts weekdays and removes listed holidays.
=NETWORKDAYS(start_date, end_date, [holidays])
=NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])- start_date, end_date
- Both dates count, if both are working days.
- [holidays]
- Optional range of dates to exclude.
- [weekend]
- NETWORKDAYS.INTL code, such as 1 (Sat–Sun), 7 (Fri–Sat) or "0000011".
Example: =NETWORKDAYS("2026-01-01", "2026-12-31") returns 261. Adding the 11 US federal holidays of 2026 as the third argument returns 250.
Worked Examples
The table lists NETWORKDAYS.INTL weekend codes.
| Weekend code | Weekend days | String form |
|---|---|---|
| 1 (default) | Saturday, Sunday | "0000011" |
| 2 | Sunday, Monday | "1000001" |
| 7 | Friday, Saturday | "0000110" |
| 11 | Sunday only | "0000001" |
| 17 | Saturday only | "0000010" |
What the Tool Measures
NETWORKDAYS counts workdays between two dates in a spreadsheet. Use it in Excel or Google Sheets.
NETWORKDAYS counts inclusively. =NETWORKDAYS("2026-12-07", "2026-12-11") returns 5 for Monday to Friday. The string form of the weekend argument uses 7 digits from Monday to Sunday, with 1 marking a non-working day.
When to Use This Tool
There are 4 main uses of the Excel and Google Sheets NETWORKDAYS Calculator, including payroll and SLA reports.
Payroll sheets
Payroll teams count working days in a pay period.
SLA reports
Support teams measure ticket age in business days.
Project sheets
Project managers compute task durations.
Regional workweeks
Firms in the Middle East use NETWORKDAYS.INTL with Friday–Saturday weekends.