Calculate difference between dates excluding weekends

nevernine9

New Member
Joined
Apr 6, 2009
Messages
4
Hi... All......
Cell A is First date: (for Example : 01/April/2009)
Cell B is SETTELMENT DATE (Which is A + 3) : (for example : 04/April/2009)
but i don't want to count weekend between A & B.
i want exclude saturday and sunday from those two dates.
How can i count this ?
THANKS.....
 
Last edited:

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Hello and welcome to MrExcel.

Try

=NETWORKDAYS(A1,B1)

where A1 holds the earlier day.

This requires the Analysis Toolpak from Tools > Add-Ins.
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Sorry, I think I misread your original question. Is this it?

<b>Sheet2</b><br /><br /><table border="1" cellspacing="0" cellpadding="0" style="font-family:Calibri,Arial; font-size:11pt; background-color:#ffffff; padding-left:2pt; padding-right:2pt; "> <colgroup><col style="font-weight:bold; width:30px; " /><col style="width:104px;" /><col style="width:101px;" /></colgroup><tr style="background-color:#cacaca; text-align:center; font-weight:bold; font-size:8pt; "><td > </td><td >A</td><td >B</td></tr><tr style="height:18px ;" ><td style="font-size:8pt; background-color:#cacaca; text-align:center; " >1</td><td style="text-align:right; ">01/04/2009</td><td style="text-align:right; ">06/04/2009</td></tr></table><br /><table style="font-family:Arial; font-size:10pt; border-style: groove ;border-color:#00ff00;background-color:#fffcf9; color:#000000; "><tr><td ><b>Spreadsheet Formulas</b></td></tr><tr><td ><table border = "1" cellspacing="0" cellpadding="2" style="font-family:Arial; font-size:9pt;"><tr style="background-color:#cacaca; font-size:10pt;"><td >Cell</td><td >Formula</td></tr><tr><td >B1</td><td >=WORKDAY(A1,3)</td></tr></table></td></tr></table> <br />Excel tables to the web - Excel Jeanie Html 4
 

nevernine9

New Member
Joined
Apr 6, 2009
Messages
4

ADVERTISEMENT

2hz4b39.jpg


Thanks
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
What result (date) do you expect for that example?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,422
Messages
5,837,147
Members
430,478
Latest member
masoodb1358

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