Working days between two dates
Count the weekdays between two dates, minus any holidays you add, and get the NETWORKDAYS formula that does it in Excel.
In your sheet: put the start date in A2, the end date in B2 and the holidays in D2:D4, then type this formula in C2.
An Excel file with these values and the formula, ready to reuse.
How to use it
- Pick the start date and the end date. Both count when they fall on weekdays.
- Add the holidays in between, such as public holidays or days the office is closed.
- Copy the formula. In your sheet, put the dates in A2 and B2 and the holidays in column D from D2, then paste the formula in C2.
How it works
NETWORKDAYS counts the days from Monday to Friday between a start date and an end date, both included. Give it a range of dates as a third argument and it leaves those out too. Saturday and Sunday are always the weekend. For another weekend, such as Friday and Saturday, Excel has NETWORKDAYS.INTL.
Think of a wall calendar with the weekends and holidays crossed out: NETWORKDAYS counts the days that are left, from one date to the other.
The $ signs in $D$2:$D$4 lock the holiday list. Fill the formula down a column of start and end dates and every row still reads the same holidays.
HR uses it for leave requests. Leave from Monday, Dec 21, 2026 to Friday, Jan 8, 2027, with the office closed on Dec 25, Dec 28 and Jan 1, takes 12 days off the person's allowance, which is what =NETWORKDAYS(A2,B2,$D$2:$D$4) returns.
Learn it properly
This lesson explains NETWORKDAYS step by step. Then you type the formulas yourself in a practice sheet and see straight away if they're right.
Count and add working days with NETWORKDAYS and WORKDAY
In Text and Dates
Count the working days between two dates and find the date a number of working days ahead, leaving out weekends and a list of days the office is closed.
Premium7 min· 4 exercises
Open the lesson
Questions
Does NETWORKDAYS count the start and end dates?
Yes, both, when they fall on weekdays. From Monday to Friday of the same week is 5.
What if a holiday falls on a weekend?
Nothing changes. NETWORKDAYS doesn't count weekends anyway, so the day isn't taken off twice.
How do I count with a different weekend?
Use NETWORKDAYS.INTL, which takes the weekend as its third argument. For a Friday and Saturday weekend: =NETWORKDAYS.INTL(A2,B2,7,$D$2:$D$4).
How do I find the date a number of working days from now?
Use WORKDAY: =WORKDAY(A2,10,$D$2:$D$4) gives the date 10 working days after the date in A2, skipping weekends and the holidays.
Why does my formula return #VALUE!?
One of the dates is text that only looks like a date, such as 12.21.2026. Retype it as a date. Real dates line up on the right of the cell.
More free tools
All tools- Days between dates calculatorCount the days, whole months or whole years between two dates, and get the formula that does it.
=DAYS(B2,A2)returns74 - Excel shortcut trainerPress the real keys for everyday Excel shortcuts, on Windows or Mac, and see straight away if you got each one right.CtrlDFill down
- Excel shortcuts cheat sheetThe shortcuts worth knowing on one printable page, in a Windows and a Mac version.CtrlShiftLFilters on or off
Practice the date formulas you use at work
ProExcel's free course starts with the basics and builds up, one short lesson at a time, with practice you type yourself and feedback the moment you press Enter.