+ Reply to Thread
Results 1 to 4 of 4

[Task] Dependencies [In a Schedule]

  1. #1
    Registered User
    Join Date
    04-12-2017
    Location
    Vancouver
    MS-Off Ver
    2013
    Posts
    17

    [Task] Dependencies [In a Schedule]

    Hey Everyone,

    I've been tasked with creating a schedule from a list of tasks that can also link dependencies.

    Here's an example:

    Column A - Task | Column B - Start | Column C - Duration | Column D - End | Column E - Dependencies

    Task1 | Jan 1 | 4 | Jan 5 | *
    ....

    The Task list is about 50 cells long. In Column E - Dependencies, I would like to be able to produce a dropdown list of all the other tasks. Checking off one or more dependency tasks should ultimately force the Start date to begin later than the latest selected task dependency. (IE. For Task 5, I selected Task 2, Task 6, and Task 10 as the dependencies, if the start date for Task 5 is less than Task 2,6, or 10, it should indicate that there is an error.)

    Apologies if this is not very clear, I've been suddenly tasked with coming up with the spreadsheet and have been coming up short on how I would be able to capture the dependencies. I'm open to use Macros/VBA but am quite new at it so will need a little help in understanding the code/macro.

    Thanks in advance!

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,720

    Re: [Task] Dependencies [In a Schedule]

    Quote Originally Posted by wvtn View Post
    I would like to be able to produce a dropdown list of all the other tasks. Checking off one or more dependency tasks....
    Here's the problem--with a dropdown list, you can only select one item at a time. If you have multiple dependencies you have two choices (that I can think of): Put one dependency in each column (E, F, G, H...) or have a list of task numbers of dependencies in one cell (need a macro to manage this).

    Also, you weren't specific about how you want your dependencies to work but a dependency is a two-way relationship. For example, For Task 5, I selected Task 2, Task 6, and Task 10 as the predecessor dependencies; if the start date for Task 5 is less than the latest finish date for Task 2,6, or 10, it should indicate that there is an error. (Or it could simply calculate the start date automatically.)

    I provided a mock-up of how this could work. I assume that your Duration is working days. I added a sheet with a holiday list that you will need to populate. You can specify up to 5 predecessors for a task. Each task shows the desired start date, and the earliest start based on dependencies. If they don't match, they are highlighted yellow. If you enter the same predecessor more than once for the same task, it turns yellow.

    This solution does not require macros. I have a much more sophisticated tool that has a massive amount of code but it hasn't been thoroughly tested yet and you would have to be a VBA expert to maintain it.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    04-12-2017
    Location
    Vancouver
    MS-Off Ver
    2013
    Posts
    17

    Re: [Task] Dependencies [In a Schedule]

    Thanks for taking a swing at it, really appreciate your time.

    I had a feeling that what I was asking for wouldn't be a simple solution, I'll play around with your sheet and try to integrate something similar into mine.

    That being said, if anyone had any other design ideas to get around this, it'd be greatly appreciated.

  4. #4
    Registered User
    Join Date
    08-02-2012
    Location
    qatar
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: [Task] Dependencies [In a Schedule]

    Hi 6StringJazzer & wvtn,

    Good morning

    As per Mr.String created table I have incorporated some of tasks with links and lag days to meet the earliest possible start date with connecting cell formulas; and this is working for 'n' of tasks and predecessors (if provided with links & lags in each predecessors), but here I have issue is if I defined by must finish to finish with lag days in task A20 then the earliest possible end date is adjusted with formulas but my earliest possible start date is not getting adjusted in line with earliest possible end date (as it was defined in links).


    Also If I have given the actual start date then the desired end date is formulated automatically, but if in case the reverse I also look after if I put actual start date & actual end date (as per actual events) then the following task links should adjust automatically in line with actuals as tracking of works to the present scenarios; please advise further to move on this.

    Thanking you

    Regards,
    JD.Nethaji
    Attached Files Attached Files

+ 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. Trying to build a dynamic task timeline with intertask dependencies
    By excel12121 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2015, 03:39 PM
  2. [SOLVED] can i scheule to run a sub using task schedule in windows?
    By mrkhchan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2015, 01:26 PM
  3. create daily schedule using master task schedule
    By DCO in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-13-2012, 01:08 PM
  4. Spreadsheet to schedule a task
    By dannycelluk in forum Excel General
    Replies: 6
    Last Post: 04-06-2012, 05:01 AM
  5. Schedule task code
    By Sam.K in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-06-2008, 02:00 AM
  6. Schedule task without Login
    By macroplay in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-22-2006, 09:05 AM
  7. Gantt Chart Task dependencies
    By SiliconAlleyDude in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-09-2005, 05:10 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