---
title: "Count Workdays between Two Dates in Excel"  
description: "Count Workdays between Two Dates in Excel"  
author: "AVADHESH PATEL"  
published: 2013-03-26  
updated: 2019-12-27  
canonical: https://www.mindstick.com/articles/1166/count-workdays-between-two-dates-in-excel  
category: "excel"  
tags: ["excel"]  
reading_time: 1 minute  

---

# Count Workdays between Two Dates in Excel

In an [office](https://www.mindstick.com/articles/43968/the-most-annoying-things-happening-in-an-office), there is [common](https://yourviews.mindstick.com/story/1215/the-most-common-sexually-transmitted-infections) use of calculating total working [days between two](https://answers.mindstick.com/qa/43849/write-a-program-in-c-language-to-find-total-days-between-two-dates-input-in-dd-mm-yyyy-format) given date. Excel provides NETWORKDAYS [function](https://www.mindstick.com/articles/43970/purchase-suitable-wedding-dresses-for-your-wedding-function) for calculating working days. It returns the number of whole working days between start_date and end_date. Working days [exclude](https://www.mindstick.com/forum/1756/wpf-linq-a-collection-to-include-or-exclude-items) weekends and any dates identified in holidays. It is very useful to calculate [employee benefits](https://www.mindstick.com/articles/311981/6-reasons-to-offer-an-employee-benefits-program) that accrue based on the number of days worked during a period. Steps are given below\

##### Syntax

NETWORKDAYS(start_date,end_date,holidays)

Step 1: First create [excel sheet](https://www.mindstick.com/forum/23040/to-import-excel-sheet-into-sql-database) with some dummy data as below

![Count Workdays between Two Dates in Excel](https://www.mindstick.com/mindstickarticle/aab0b4ff-0bfe-4605-9936-b3698dbb84cb/images/ae8a07be-a767-42cc-a2d2-f034fbd9352f.png)

Step 2: Select cell where we display total working days. [Formula](https://yourviews.mindstick.com/view/81488/usa-needs-masks-for-all-formula-in-corona-pandemic) are given below

![Count Workdays between Two Dates in Excel](https://www.mindstick.com/mindstickarticle/aab0b4ff-0bfe-4605-9936-b3698dbb84cb/images/f9e78fd8-6af7-4eab-84e6-691880926694.png)

Note: If you want to reduce Sunday from total working days then also maintain Sunday as holiday in excel sheet.

---

Original Source: https://www.mindstick.com/articles/1166/count-workdays-between-two-dates-in-excel

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
