Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
gsh20
 
Posts: n/a
Default fill a series of dates excluding holidays


I have a spreadsheet that returns a series of appointments based on a
start date.


Name StartDate Lesson 2 Lesson 3 etc.
Name1 26-Jan-05 2-Feb-05 9-Feb-05
Name2 13-Sep-04 20-Sep-04 27-Sep-04

Col A is Name, Col B is start date, etc.
To calculate the remaining dates I add 7 to the start date, then add 7
to each col, copy the formula across for the number of lessons.

I would like to use a function, formula, or VBA solution to do this but
skip over the holidays or other non working times.

Looking for any insight !!
Thanks
GSH20


--
gsh20
------------------------------------------------------------------------
gsh20's Profile: http://www.excelforum.com/member.php...o&userid=26606
View this thread: http://www.excelforum.com/showthread...hreadid=398792

  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Wed, 24 Aug 2005 16:43:48 -0500, gsh20
wrote:


I have a spreadsheet that returns a series of appointments based on a
start date.


Name StartDate Lesson 2 Lesson 3 etc.
Name1 26-Jan-05 2-Feb-05 9-Feb-05
Name2 13-Sep-04 20-Sep-04 27-Sep-04

Col A is Name, Col B is start date, etc.
To calculate the remaining dates I add 7 to the start date, then add 7
to each col, copy the formula across for the number of lessons.

I would like to use a function, formula, or VBA solution to do this but
skip over the holidays or other non working times.

Looking for any insight !!
Thanks
GSH20


It depends on what you want to do if the next lesson is scheduled for a
holiday.

If you want to postpone for one day, then:

C1: =workday(B1+6,1,Holidays)
D1: =workday(B1+13,1,Holidays)

If the WORKDAY function is not available, and returns the #NAME? error, install
and load the Analysis ToolPak add-in.

How?

On the Tools menu, click Add-Ins.
In the Add-Ins available list, select the Analysis ToolPak box, and then click
OK.
If necessary, follow the instructions in the setup program.



--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you count work days excluding weekends and holidays? Hausma Excel Discussion (Misc queries) 2 April 8th 05 07:39 PM
formula to calculate # of days between dates, excluding holidays abs2299 Excel Discussion (Misc queries) 8 March 3rd 05 02:21 AM
fill series J. Kopp Excel Discussion (Misc queries) 1 February 1st 05 11:23 PM
fill series grayed out (not available, disactivated) Michel Dion (from IMS Health in Canada) Excel Discussion (Misc queries) 1 December 17th 04 02:35 AM
Identifying the Active Fill Color Steve Conary Excel Discussion (Misc queries) 3 December 9th 04 04:45 AM


All times are GMT +1. The time now is 05:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"