Misleading Networkdays Function??

saurabhbiswas123

Board Regular
Joined
Jul 16, 2008
Messages
71
Dear All,
I want to capture the Actual Working days between Project Start & Finish Date(excluding SUNDAY only as weekly off day).
In cell A1 I have got the Project Start Date(in MMDDYYYY format) and in cell B1 I have got the Project finish date(in MMDDYYYY format).
In cell C1 I am using the following formula:-
=Networkdays(a1,b1)
But it is giving me misleading no of days since it deducts both Saturday & Sunday.
I want a formula in cell c1 which can give the actual no of days between start & finish date by deducting Sunday only.
Pls help.
Thanks
Saurabh Biswas
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi,

There may be simple ways..

=NETWORKDAYS(A1,B1)+SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&B1)))=1))
 
Last edited:
Upvote 0
Barry may show up with a clever formula based on the weekday of the starting day and ending day that is less computationally intensive, but... here's what I came up with.

=SUMPRODUCT(--(WEEKDAY(ROW(INDEX($IV:$IV,A1):INDEX($IV:$IV,B1)))<>1)) Which counts the starting date and ending date.

If you do not wish to count the starting date, ending date, or both. Subtract 1 or 2 from the above formula.
 
Upvote 0
Kris - Your Formula is a REAL Keeper...
but wouldn't last numeric be 7 (for Saturday), versus 1 (for Sunday)?
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,727
Members
449,049
Latest member
MiguekHeka

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?

Disable AdBlock

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
Back
Top