---
title: "NETWORKDAYS function in Excel: syntax and examples | PracticeExcel"
description: "How to use NETWORKDAYS in Excel and Google Sheets: count working days between two dates, with holidays."
canonical_url: "https://practiceexcelonline.com/functions/networkdays"
locale: en
meta:
  "og:description": "How to use NETWORKDAYS in Excel and Google Sheets: count working days between two dates, with holidays."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TkVUV09SS0RBWVMgZnVuY3Rpb24gaW4gRXhjZWw6IHN5bnRheCBhbmQgZXhhbXBsZXM%2Cdescription_~SG93IHRvIHVzZSBORVRXT1JLREFZUyBpbiBFeGNlbCBhbmQgR29vZ2xlIFNoZWV0czogY291bnQgd29ya2luZyBkYXlzIGJldHdlZW4gdHdvIGRhdGVzLCB3aXRoIGhvbGlkYXlzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~TkVUV09SS0RBWVMoc3RhcnRfZGF0ZSwgZW5kX2RhdGUsIFtob2xpZGF5c10p%2Cp_Ii9mdW5jdGlvbnMvbmV0d29ya2RheXMi%2Cs_By7k_kmU4bKL1RWY.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "NETWORKDAYS function in Excel: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TkVUV09SS0RBWVMgZnVuY3Rpb24gaW4gRXhjZWw6IHN5bnRheCBhbmQgZXhhbXBsZXM%2Cdescription_~SG93IHRvIHVzZSBORVRXT1JLREFZUyBpbiBFeGNlbCBhbmQgR29vZ2xlIFNoZWV0czogY291bnQgd29ya2luZyBkYXlzIGJldHdlZW4gdHdvIGRhdGVzLCB3aXRoIGhvbGlkYXlzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~TkVUV09SS0RBWVMoc3RhcnRfZGF0ZSwgZW5kX2RhdGUsIFtob2xpZGF5c10p%2Cp_Ii9mdW5jdGlvbnMvbmV0d29ya2RheXMi%2Cs_By7k_kmU4bKL1RWY.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **The NETWORKDAYS function**

Counts the working days (Monday to Friday) between two dates, both included, minus any holidays you list.

=

NETWORKDAYS(

## **Syntax**

```
NETWORKDAYS(start_date, end_date, [holidays])
```

<dl><dt>**start_date **</dt>
<dd>The first date.</dd>
<dt>**end_date **</dt>
<dd>The last date.</dd>
<dt>**holidays **(optional)</dt>
<dd>Dates to leave out, such as public holidays.</dd></dl>

## **Examples**

B1`=NETWORKDAYS(<sup>1</sup>DATE(2024,3,1),<sup>2</sup>DATE(2024,3,31))`

|  | A | B |
| --- | --- | --- |
| 1 |  | **21** |

**In plain words:** Count the weekdays from <sup>1</sup>Mar 1, 2024 to <sup>2</sup>Mar 31, 2024.

B1=NETWORKDAYS(DATE(2024,3,25),DATE(2024,3,29),DATE(2024,3,28))

|  | A | B |
| --- | --- | --- |
| 1 |  | **4** |

## **Read the guide**

- [**Excel for finance and accounting: the skills you actually use**](https://practiceexcelonline.com/learn/excel-for-finance)
- [**Dates in Excel: how they work and the formulas you need**](https://practiceexcelonline.com/learn/excel-dates)

## **Related functions**

- [**TODAY**](https://practiceexcelonline.com/functions/today)
- [**EOMONTH**](https://practiceexcelonline.com/functions/eomonth)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/functions/networkdays#webpage","@type":"WebPage","description":"How to use NETWORKDAYS in Excel and Google Sheets: count working days between two dates, with holidays.","name":"NETWORKDAYS function in Excel: syntax and examples","url":"https://practiceexcelonline.com/functions/networkdays","breadcrumb":{"@id":"https://practiceexcelonline.com/functions/networkdays#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/functions/networkdays"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/functions/networkdays#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel functions","item":"https://practiceexcelonline.com/functions","position":2},{"@type":"ListItem","name":"NETWORKDAYS function in Excel: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/functions/networkdays#article","description":"How to use NETWORKDAYS in Excel and Google Sheets: count working days between two dates, with holidays.","headline":"NETWORKDAYS function in Excel: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TkVUV09SS0RBWVMgZnVuY3Rpb24gaW4gRXhjZWw6IHN5bnRheCBhbmQgZXhhbXBsZXM%2Cdescription_~SG93IHRvIHVzZSBORVRXT1JLREFZUyBpbiBFeGNlbCBhbmQgR29vZ2xlIFNoZWV0czogY291bnQgd29ya2luZyBkYXlzIGJldHdlZW4gdHdvIGRhdGVzLCB3aXRoIGhvbGlkYXlzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~TkVUV09SS0RBWVMoc3RhcnRfZGF0ZSwgZW5kX2RhdGUsIFtob2xpZGF5c10p%2Cp_Ii9mdW5jdGlvbnMvbmV0d29ya2RheXMi%2Cs_By7k_kmU4bKL1RWY.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/functions/networkdays#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/functions/networkdays#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TkVUV09SS0RBWVMgZnVuY3Rpb24gaW4gRXhjZWw6IHN5bnRheCBhbmQgZXhhbXBsZXM%2Cdescription_~SG93IHRvIHVzZSBORVRXT1JLREFZUyBpbiBFeGNlbCBhbmQgR29vZ2xlIFNoZWV0czogY291bnQgd29ya2luZyBkYXlzIGJldHdlZW4gdHdvIGRhdGVzLCB3aXRoIGhvbGlkYXlzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~TkVUV09SS0RBWVMoc3RhcnRfZGF0ZSwgZW5kX2RhdGUsIFtob2xpZGF5c10p%2Cp_Ii9mdW5jdGlvbnMvbmV0d29ya2RheXMi%2Cs_By7k_kmU4bKL1RWY.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TkVUV09SS0RBWVMgZnVuY3Rpb24gaW4gRXhjZWw6IHN5bnRheCBhbmQgZXhhbXBsZXM%2Cdescription_~SG93IHRvIHVzZSBORVRXT1JLREFZUyBpbiBFeGNlbCBhbmQgR29vZ2xlIFNoZWV0czogY291bnQgd29ya2luZyBkYXlzIGJldHdlZW4gdHdvIGRhdGVzLCB3aXRoIGhvbGlkYXlzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~TkVUV09SS0RBWVMoc3RhcnRfZGF0ZSwgZW5kX2RhdGUsIFtob2xpZGF5c10p%2Cp_Ii9mdW5jdGlvbnMvbmV0d29ya2RheXMi%2Cs_By7k_kmU4bKL1RWY.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
