Network days formula problem

dani57

New Member
Joined
Nov 3, 2011
Messages
5
Hi I am new to this forum I hope someone can help.I am trying to monitor
my suppliers delivery performance,but I do not want the formula to include weekends Saturday and Sunday as they do not work.
Anyhow I used the network days formula to give me the days count 14/11/11 to 21/11/11 and its given me 6 days as the result I was expecting 5,as I want to exclude Saturday and Sundays,I understand why it's coming back with 6 ,but I was wondering if there's a formula that gives me the result of Monday to Friday,so it gives me 5 days and excludes the Saturday and Sunday.
 

Some videos you may like

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

fairwinds

MrExcel MVP
Joined
May 15, 2003
Messages
8,638
Welcome to the board!

6 is what the formula should return. Including both start and end date.

Perhaps always deduct 1 would give you the result you want?
 

dani57

New Member
Joined
Nov 3, 2011
Messages
5
I suppose that's the only way can the -1 be included in the network days formula ?
 

Matt Rogers

Well-known Member
Joined
Sep 23, 2011
Messages
1,030
Hi.

<table style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; " border="1" cellpadding="0" cellspacing="0"> <colgroup><col style="font-weight:bold; width:30px; "><col style="width:63.2px;"><col style="width:61.6px;"><col style="width:95.2px;"><col style="width:89.6px;"></colgroup><tbody><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td> </td><td>A</td><td>B</td><td>C</td><td>D</td></tr><tr style="height:22px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">1</td><td style="text-align:center; ">StartDate</td><td style="text-align:center; ">EndDate</td><td style="text-align:center; ">NetWorkdays</td><td style="text-align:center; ">YourFormula</td></tr><tr style="height:22px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">2</td><td style="text-align:center; ">01/11/11</td><td style="color:#333333; text-align:center; ">01/11/11</td><td style="text-align:center; ">1</td><td style="text-align:center; ">0</td></tr><tr style="height:22px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">3</td><td style="text-align:center; ">01/11/11</td><td style="color:#333333; text-align:center; ">02/11/11</td><td style="text-align:center; ">2</td><td style="text-align:center; ">1</td></tr><tr style="height:22px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">4</td><td style="text-align:center; ">01/11/11</td><td style="color:#333333; text-align:center; ">03/11/11</td><td style="text-align:center; ">3</td><td style="text-align:center; ">2</td></tr><tr style="height:22px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">5</td><td style="text-align:center; ">01/11/11</td><td style="color:#333333; text-align:center; ">04/11/11</td><td style="text-align:center; ">4</td><td style="text-align:center; ">3</td></tr><tr style="height:22px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">6</td><td style="text-align:center; ">01/11/11</td><td style="color:#333333; text-align:center; ">05/11/11</td><td style="text-align:center; ">4</td><td style="text-align:center; ">3</td></tr><tr style="height:22px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">7</td><td style="text-align:center; ">01/11/11</td><td style="color:#333333; text-align:center; ">06/11/11</td><td style="text-align:center; ">4</td><td style="text-align:center; ">3</td></tr><tr style="height:22px ;"><td style="font-size:8pt; background-color:#cacaca; text-align:center; ">8</td><td style="text-align:center; ">01/11/11</td><td style="color:#333333; text-align:center; ">07/11/11</td><td style="text-align:center; ">5</td><td style="text-align:center; ">4</td></tr></tbody></table>
<table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tbody><tr><td>Spreadsheet Formulas</td></tr><tr><td><table style="font-family:Arial; font-size:9pt;" border="1" cellpadding="2" cellspacing="0"><tbody><tr style="background-color:#cacaca; font-size:10pt;"><td>Cell</td><td>Formula</td></tr><tr><td>C2</td><td>=NETWORKDAYS(A2,B2)</td></tr><tr><td>D2</td><td>=NETWORKDAYS(A2,B2)-1</td></tr></tbody></table></td></tr></tbody></table>
But, what's if you work only one day?
 

Watch MrExcel Video

Forum statistics

Threads
1,122,469
Messages
5,596,329
Members
414,055
Latest member
mcarduner

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
Top