# Networkdays

#### makinsond

##### New Member
I use the NETWORKDAYS command to calculate the number of working days between 2 dates. NETWORKDAYS treats Saturday and Sunday as non-working days and omits them from the calculation.

I have a client who regards Saturday as a working day so I either need to find a version of Networkdays which only regards Sunday as a non-working day or a calculation which will count the number of Sundays between 2 dates.

### Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

#### 2rrs

##### Active Member
have a look here: http://www.mrexcel.com/board2/viewtopic.php?t=72395

The following formula from Harlan Grove (Microsoft Excel MVP)
mimics Excel’s Networkdays function:
=SUMPRODUCT(--(COUNTIF(Holidays,ROW(INDIRECT(A2&":"&B2)))=0),--(WEEKDAY(ROW(INDIRECT(A2&":"&B2)),3)<6))

Where:
A2: 1 November 03 (start date)
B2: 31 March 04 (end date)

“Holidays” is a named range that covers holidays for the year.

The above formula returns an identical result to:
=NETWORKDAYS(A2,B2,Holidays) but includes Saturdays and excludes Sundays.

Replies
3
Views
95
Replies
1
Views
732
Replies
0
Views
432
Replies
3
Views
88
Replies
4
Views
260

1,186,361
Messages
5,957,402
Members
438,304
Latest member
duck90

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

### Which adblocker are you using?

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

### Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back