How to count networkdays between two dates including Saturday in Excel?
Normally, the NETWORKDAYS is used to count a number of days between two dates excluding Saturday & Sunday, but what if exclude only Sunday? This article will show you a method to count networkdays between two dates including Saturday in details.
Count networkdays between two dates including Saturday with formula
Count networkdays between two dates including Saturday with formula
To count networkdays between two dates including Saturday in Excel, please do as follows.
1. For directly counting networkdays between two given dates without considering holidays, please enter the below formula into the Formula Bar and then press the Enter key. See screenshot:
=SUMPRODUCT(--(TEXT(ROW(INDIRECT(B1&":"&B2)),"dddd")<>"Sunday"))
Notes:
2. For counting networkdays between two dates excludes both Sundays and holidays, please apply the below array formula with pressing Ctrl + Shift + Enter keys simultaneously.
=SUMPRODUCT(--(TEXT(ROW(INDIRECT(B1&":"&B2)),"dddd")<>"Sunday"))-SUMPRODUCT(--IF((B3:C3>=B1)*(B3:C3<=B2),(TEXT(B3:C3,"dddd")<>"Sunday"), FALSE))
Notes:
Related articles:
- How to conditional format dates less than/greater than today in Excel?
- How to concatenate year, month and day to date in Excel?
- How to swap or reverse day and month of date in Excel?
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!