Need to create timeline
VBA Telemetry pings you when your VBA projects fail
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 6 of 6

Thread: Need to create timeline

  1. #1
    Board Regular kojak43's Avatar
    Join Date
    Feb 2002
    Posts
    270
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I have a task that has multiple steps. The number of steps vary between tasks.

    I want to create a formula that can count the number of steps, (easy enough, that I can do that) then after the number of steps are determined, I want to assign two business days for each step. (Here is where I begion to stumble.)

    If the numbers of 2 day steps run into a weekend, I want the formula to move the date to the next workday. (I think the function WORKDAY can do this, but when I tried to get this done, Excel sneered at me)

    If I have to change a date, I want the worksheet to reflow with the new dates.

    Any help out there? It would be greatly appreciated.

    K

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Denver, CO
    Posts
    1,743
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    It would seem something such as
    =WORKDAY(TODAY(),COUNT(A1:A10)*2)
    would suffice. Where tasks are listed in A1:A10. subsitute a different date for today() if needed.

    Now put down that lolipop and get to work. Who loves ya baby?

    good luck


    On 2002-02-25 12:05, kojak43 wrote:
    I have a task that has multiple steps. The number of steps vary between tasks.

    I want to create a formula that can count the number of steps, (easy enough, that I can do that) then after the number of steps are determined, I want to assign two business days for each step. (Here is where I begion to stumble.)

    If the numbers of 2 day steps run into a weekend, I want the formula to move the date to the next workday. (I think the function WORKDAY can do this, but when I tried to get this done, Excel sneered at me)

    If I have to change a date, I want the worksheet to reflow with the new dates.

    Any help out there? It would be greatly appreciated.

    K
    [ This Message was edited by: IML on 2002-02-25 12:18 ]

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Posts
    75
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    If you have a bunch of dates that you need populated, then the follwoing might be useful:

    If A2 has the first date, then
    A3: =WORKDAY(A2,1) will have the second
    date for the first task.

    Then B2: =WORKDAY(A3,1) and
    B3: =WORKDAY(B2,1) will have the two
    dates for the next task, etc.
    "Interfere? Of course we should interfere! Always do what you're best at, that's what I say!" -- The Doctor, Nightmare of Eden

  4. #4
    Board Regular kojak43's Avatar
    Join Date
    Feb 2002
    Posts
    270
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    IML:
    Thanks for the prompt reply.
    No joy. I get the infamous #NAME?
    I entered 1-11 in A1:A11, Scribbled in gibberish for each task, then entered your formula at c12.
    I also tried the formula at c1 with appropriate changes i.e. Workday(Today(),count(a1)*2)
    Both formulas gave me #NAME?
    As I really don't know what #NAME? means...
    K

  5. #5
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Denver, CO
    Posts
    1,743
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    You need to install and select the analysis tool Pak under Tools Add-ins for excel to recognize the workday function. I hope that helps.


    On 2002-02-25 12:34, kojak43 wrote:
    IML:
    Thanks for the prompt reply.
    No joy. I get the infamous #NAME?
    I entered 1-11 in A1:A11, Scribbled in gibberish for each task, then entered your formula at c12.
    I also tried the formula at c1 with appropriate changes i.e. Workday(Today(),count(a1)*2)
    Both formulas gave me #NAME?
    As I really don't know what #NAME? means...
    K

  6. #6
    Board Regular kojak43's Avatar
    Join Date
    Feb 2002
    Posts
    270
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Thank you both. I think I got it to work, thanks to you folks. I am in your debt.
    Huge grin!!!

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com