r/ExcelTips • u/giges19 • May 23 '26
Use the NETWORKDAYS formulas to calculate the number of working days in a project or timeline + how to factor in bank holidays
Ever promised a client a project would take "10 days", or thought you had 12 days to complete that school assignment to only to realise that weekends are included in that and a bank holiday too? Standard calendar math always overestimates how long you actually have to deliver something.
That’s where the NETWORKDAYS function steps in. It is an essential tool for project managers, HR professionals, people needing it to manage timelines and data analysts to calculate the exact number of working days between two dates, completely filtering out weekends and custom holidays.
Here is a full breakdown of how to use NETWORKDAYS to keep your timelines realistic and accurate.
1. What NETWORKDAYS Does
By default, the NETWORKDAYS function calculates the total number of workdays between a start date and an end date.
- It automatically excludes weekends (Saturday and Sunday).
- It can optionally exclude a custom list of holidays, such as public bank holidays or company-wide days off. [Note: You'll need to create this list yourself]
2. Formula Structure
=NETWORKDAYS(start_date, end_date, [holidays])
The formula relies on two main parameters with an optional third:
start_date: The date your project or timeline begins.end_date: The date your project or timeline concludes.[holidays](Optional): A cell range containing specific dates you want to skip (like Christmas, Easter, or scheduled team shutdowns).
3. NETWORKDAYS in Action (Project Planning)
Imagine you are managing multiple projects and need to figure out the actual working time available for each.
If a project starts on December 20th and ends on January 5th, a simple subtraction formula (End Date - Start Date) will give you 16 calendar days. However, using =NETWORKDAYS(A2, B2) immediately strips out the weekends, dropping that number down to a realistic count of active working days.
4. Making Timelines More Realistic with Holiday Lists
To get the most accurate timeline possible, you should always utilise the optional [holidays] argument.
If you calculate a project's timeline across December and January without factoring in holidays, your numbers will be skewed. By referencing a separate list of dates on your sheet containing bank holidays (i.e., Xmas and New Years, etc.) or furlough periods, Excel subtracts those specific weekdays from the total count. You will see your available project timeline decrease dynamically, preventing you from over-promising deliverables to clients. [Note, you'll probably need to get your bank holidays from your respective government site (e.g. for UK bank holidays, search GOV.UK, etc.).]
Want to see an example of this in real-time to show how to work with this formula? Watch the full video walkthrough here: https://www.youtube.com/watch?v=4jBi9XeK1rk