NETWORKDAYS counts the working days between two dates — automatically skipping weekends, and any holidays you hand it. Perfect for SLAs, project timelines, and payroll.
The example
Working days from Mon Jun 1 to Fri Jun 19, 2026, with one holiday (Jun 19).
| A | B | |
|---|---|---|
| 1 | Start | 6/1/2026 |
| 2 | End | 6/19/2026 |
| 3 | Holiday | 6/19/2026 |
| 4 | Working days | 14 |
The formula
Working days between the two dates, skipping the holiday:
How it works
NETWORKDAYS does the calendar math for you:
- It counts every day from start to end, inclusive of both ends.
- It removes Saturdays and Sundays automatically — no weekend logic needed.
- It removes any dates in the optional holidays range (3rd argument). Put your holidays in a column and point to it.
- In the example, the 19 calendar days contain 15 weekdays; one of those is a holiday, leaving 14 working days.
Custom weekends? Use NETWORKDAYS.INTL when your weekend isn’t Sat/Sun — e.g. =NETWORKDAYS.INTL(B1, B2, 7, holidays) treats Fri/Sat as the weekend. To add N working days to a date instead of counting them, use WORKDAY(start, N, holidays).
Try it: interactive demo
Pick a start and end date; weekends are skipped.
Variations
Custom weekend (NETWORKDAYS.INTL)
Weekend code 7 = Friday/Saturday:
Add working days to a date
WORKDAY lands N working days out:
Just the weekday count
Omit holidays to count weekdays only:
Pitfalls & errors
Both ends count. NETWORKDAYS is inclusive — a Monday-to-Monday span counts both Mondays. Subtract 1 if you only want full days elapsed.
Text dates fail. Arguments must be real dates, not text like "6/1/2026" typed as text. Wrap with DATEVALUE if needed.
Holidays must be a range or array. A single holiday still works, but list them in cells and reference the range so the list is easy to maintain.
Practice workbook
Frequently asked questions
How do I count working days between two dates in Excel?
How do I exclude holidays?
What if my weekend isn't Saturday and Sunday?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class