+ Reply to Thread
Results 1 to 14 of 14

Project Based Template For Dates

  1. #1
    Forum Contributor
    Join Date
    08-19-2006
    MS-Off Ver
    Excel 365
    Posts
    229

    Project Based Template For Dates

    Hi,

    I have a table as attached for a project. Usually the first task will not have any dependencies. However, task 2 has a dependency in which task 2 can only start after task 1 has been completed. In the example attached, task 1 is completed on 7/16/2015. Therefore the start date for task 2 should automatically populate as 7/17/2015.The formula in the start date should also exclude weekends and public holidays. Is there any way to accomplish this ?


    Any help will be greatly appreciated.

    I have a cross post here:

    http://www.mrexcel.com/forum/excel-q...ate-dates.html
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Project Based Template For Dates

    Try this in C3 of your example and copy/drag down
    Please Login or Register  to view this content.
    Last edited by gmr4evr1; 07-12-2015 at 12:21 PM. Reason: Changed C2 to C3
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Project Based Template For Dates

    I am assuming that you are using an Excel version higher than indicated in your profile because of the file type offered. Please update your profile if you are using a newer version.

    This might work for you if you are using Excel 2010 or later:
    Enter in C2 and fill down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This will also work if you don't have access to WORKDAY.INTL which allows you to specify what a weekend is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Forum Contributor
    Join Date
    08-19-2006
    MS-Off Ver
    Excel 365
    Posts
    229

    Re: Project Based Template For Dates

    Hi gmr4evr1 and newdoverman,

    Thank you for your solutions. However, the formula does not take into account the dependencies. For example, if I add Task 1 as the dependency for Task 3, the start date does not change accordingly.

  5. #5
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Project Based Template For Dates

    This might be one for newdoverman to finish out because I don't know what to do if the dependency changes.

  6. #6
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Project Based Template For Dates

    Use this formula in cell C3:
    Please Login or Register  to view this content.
    Copy down to rows that have a Precedence task. Have fun with the inevitable circular references.
    Last edited by cyiangou; 07-12-2015 at 02:23 PM.

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Project Based Template For Dates

    This changes things considerably. From your last message, I understand that there has to be a "Precedence" even if that "Precedence" is a repeat of previous precedencies. If that is the case then I think this will work: (If there isn't a precedence, what can be used for a start date??)
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    A
    B
    C
    D
    E
    F
    G
    1
    Task Name
    Duration (Days)
    Start Date
    End Date
    Precedence
    % Completion
    Status
    2
    Task 1
    4
    12/07/2015
    16/07/2015
    3
    Task 2
    5
    20/07/2015
    27/07/2015
    Task 1
    4
    Task 3
    3
    20/07/2015
    23/07/2015
    Task 1


    A
    B
    C
    D
    E
    F
    G
    1
    Task Name
    Duration (Days)
    Start Date
    End Date
    Precedence
    % Completion
    Status
    2
    Task 1
    4
    12/07/2015
    16/07/2015
    3
    Task 2
    5
    20/07/2015
    27/07/2015
    Task 1
    4
    Task 3
    3
    28/07/2015
    31/07/2015
    Task 2
    Last edited by newdoverman; 07-12-2015 at 03:05 PM.

  8. #8
    Forum Contributor
    Join Date
    08-19-2006
    MS-Off Ver
    Excel 365
    Posts
    229

    Re: Project Based Template For Dates

    Hi newdoverman ,

    My apologies again. You have a valid question in (If there isn't a precedence, what can be used for a start date??). Here is the logic:

    1) If the task name is blank, then no start date.
    2) If the task name is completed and there is no dependency, then the start date should be the date after the end date of the previous task.
    3) If the task name is completed and there is a dependency, then the start date should be the date after the end date of the dependency.

    Appreciate all your help how it can be done.
    Last edited by Kumara_faith; 07-13-2015 at 12:53 AM.

  9. #9
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Project Based Template For Dates

    It's been a long-term goal of mine to create a simple to use, macro-free, spreadsheet-based project planner.

    The attached allows up to 2 predecessors (although the MAX formula in col G could benefit from an array formulation to handle many more).
    project_dependencies.xlsx

    - If a task has no predecessors, then start date defaults to project start.
    - If a task has 1 predecessor, then start date commences when that predecessor finishes.
    - If a task has 2 predecessors, then start date commences when the latest of the 2 predecessors finishes.

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Project Based Template For Dates

    @cyiangou
    If you are looking for a solution to your problem using this thread then unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Project Based Template For Dates

    I think that I may be on the right track with this formula. Only filling your worksheet with realistic data will tell if it works or not. Enter this formula in C3 and fill down (it is good to row 200).
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Amend the formula in d2 to the following and fill down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  12. #12
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Project Based Template For Dates

    Huh? What part of my complete (and more) solution to Kumara_faith's question did you construe to be me seeking assistance? Did you even look at my contribution? Wow.

  13. #13
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Project Based Template For Dates

    @cyianqou
    Yes, I did look at your workbook.
    I stated "If you are looking for a solution to your problem using this thread then unfortunately your post does not comply with Rule 2"

    I could not tell if you were offering assistance or asking for it.

    I got from your second paragraph that you were looking for assistance with a MAX formula in column G. If this is not correct, I apologize.

  14. #14
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Project Based Template For Dates

    @newdoverman,

    Oh ok. Sorry if I was ambiguous.

    The MAX suggestion was just a pointer to further enhancement, although I could have implemented this. But since I had already overstepped the spec by allowing 2 predecessors, I didn't want this to get too complicated, as array formulas can be hard to read.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Changing dates in excel based project plan
    By MATEJASIMIC in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-04-2014, 07:48 AM
  2. Replies: 5
    Last Post: 08-06-2014, 01:10 PM
  3. Replies: 1
    Last Post: 05-02-2014, 03:05 PM
  4. [SOLVED] Template for tracking project completion dates and simple metrics? % Completed on time
    By Shrad013 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-19-2013, 10:28 AM
  5. [SOLVED] Sum amounts based on dates in a column range and a project # in a specific cell
    By Jexcel2012 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-08-2012, 01:51 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1