How to Use the NETWORKDAYS Function in Excel

The NETWORKDAYS function helps you calculate the number of working days between two dates, automatically excluding weekends. In this lesson, you’ll learn how it works and see how it’s used to measure job completion time for HVAC installs and repairs, including how to account for holidays and flag delayed projects.

Download the Excel file used in this tutorial:

The NETWORKDAYS Function

1. Set up your start date and end date columns

  • Identify the earlier date as the start date
  • Identify the later date as the completion or end date
  • Make sure both are stored as real Excel dates so the function calculates correctly

2. Use NETWORKDAYS to calculate business days between two dates

  • Enter the NETWORKDAYS function
  • Select the start date as the first argument
  • Select the completion date as the second argument
  • This returns the number of working days between the two dates while excluding standard weekend days

3. Confirm the result against the calendar

  • Review the date range to make sure the count makes sense
  • Notice that the function excludes Saturdays and Sundays automatically
  • This helps verify that the output is showing business days rather than total calendar days

4. Add a holiday range to exclude company or public holidays

  • Use the third argument in NETWORKDAYS to reference a holiday list
  • Highlight the holiday cells you want excluded from the count
  • This allows the calculation to remove holidays in addition to weekends
  • Update the holiday list as needed based on your company schedule

5. Lock the holiday range before copying the formula down

  • Use absolute referencing so the holiday list does not shift when you fill the formula down
  • Press F4 after selecting the holiday range to lock it
  • This keeps every row tied to the same holiday calendar

6. Test what happens when the holiday range is not locked

  • Copy the formula down without locking the range
  • Notice how the holiday reference moves and starts pulling the wrong cells
  • This can create errors or inaccurate business day counts
  • Locking the range prevents that issue

7. Add a project delay flag with IF and NETWORKDAYS

  • Use the IF function together with NETWORKDAYS
  • Compare the business day count against your delay threshold
  • If the result is greater than the threshold, label the job as delayed
  • Otherwise, label it as on time
  • This turns the business day calculation into a quick operational flag

8. Adjust the delay threshold based on your process

  • Set the cutoff based on your service standards
  • The video shows using a number like 5 business days, but you can change it
  • You can also decide whether the threshold should be greater than only, or greater than or equal to

9. Calculate the average completion time

  • Use the AVERAGE function on the completed business day counts
  • This gives you the average number of business days required to complete installs or repairs
  • It is a simple way to summarize turnaround time across all jobs

10. Use NETWORKDAYS.INTL when weekends are different

  • If your workweek does not follow the standard Saturday and Sunday weekend, use NETWORKDAYS.INTL
  • This version lets you define which days count as the weekend
  • It is useful when your operating schedule differs by region or company policy

The NETWORKDAYS Function in Excel

Q1. What does the NETWORKDAYS function do in Excel?
The NETWORKDAYS function calculates the number of business days between two dates, automatically excluding weekends (Saturday and Sunday by default).

Q2. Why is NETWORKDAYS useful for business analysis?
It helps measure operational performance by focusing on actual working time instead of calendar days. This is especially useful for tracking project timelines, service completion, and turnaround times.

Q3. Can NETWORKDAYS exclude holidays?
Yes. You can include a list of holiday dates as an optional argument, and Excel will exclude those days from the calculation, giving you a more accurate measure of working time.

Q4. What is the difference between NETWORKDAYS and NETWORKDAYS.INTL?
The standard NETWORKDAYS function assumes weekends are Saturday and Sunday. NETWORKDAYS.INTL allows you to customize which days are considered weekends, which is useful for different regions or business schedules.

Q5. How can I use NETWORKDAYS to track delays?
You can combine NETWORKDAYS with an IF statement to flag jobs as “On Time” or “Delayed” based on a target number of working days. This makes it a powerful tool for performance monitoring.

Q6. What kind of metrics can I build with NETWORKDAYS?
You can calculate metrics like average completion time, turnaround time by job type, or service efficiency, all based on working days instead of calendar days for more accurate insights.

Get more lessons like this
by joining our newsletter

Receive weekly Excel tutorials, tips, and KPIs straight to your inbox

Databoards

Analysis & Development