Network Days

gpouliot

New Member
Joined
Jan 19, 2009
Messages
39
I am trying to figure out how to keep a visit whithin a work week.

Example:

Account Visit: 08/09/2011
We want to revisit the account in 60 days

So I did =F2+60 which gives me a date of 10/08/2011. Only problem is the date falls under a Saturday. So I would want to keep it in a work week?

Any ideas how I could do this?

Thanks
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
If it does fall on a weekend, what do you want to happen?
Return the following Monday, or previous Friday?

To return the following Monday, use
=WORKDAY(F2+60-1,1)

To return the previous Friday, use
=WORKDAY(F2+60+1,-1)


As Derek said, this can also exclude Holidays.
Put a list of holidays in say A1:A20

=WORKDAY(F2+60+1,-1,$A$1:$A$20)


The workday function requires the Analysis toolpack from Tools - Addins.


Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,224,520
Messages
6,179,270
Members
452,902
Latest member
Knuddeluff

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