Clarification on Networkdays

cud22

New Member
Joined
Jan 25, 2010
Messages
24
Hi all, I need to calculate the difference between 2 days (networkdays function), and then subtract one. EG start date today, end date tomorrow returns the value of 1.

I have done this by adding / subtracting from start date, end date and from the formula result. I would expect each of these to return the same value, but they do not when the start and end dates are the same. Why is this?

Sample Table

SubmitReviewTurnaroundFormula in CTurnaroundFormula in ETurnaroundFormula in G
24/10/201624/10/2016-2'=NETWORKDAYS((A2+1),B2)-1'=NETWORKDAYS((A2),B2-1)0'=NETWORKDAYS((A2),B2)-1
24/10/201625/10/20161 1 1
24/10/201626/10/20162 2 2
24/10/201627/10/20163 3 3

<tbody>
</tbody><colgroup><col span="2"><col><col><col><col><col><col></colgroup>
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
I would expect each of these to return the same value, but they do not when the start and end dates are the same. Why is this?

Hi, because when you subtract 1 from the 24/10/2016 it's a Sunday so is excluded. But when you add 1 to the 24/10/2016 it's a Tuesday so is not excluded.
 
Upvote 0

Forum statistics

Threads
1,215,519
Messages
6,125,298
Members
449,218
Latest member
Excel Master

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