+ Reply to Thread
Results 1 to 7 of 7

Mini Scheduler in Excel

  1. #1
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425

    Mini Scheduler in Excel

    Hi excel gurus,

    Im trying to build a small scheduler in Excel.
    I have a list of activities which are related to each other by any of 3 relationships:

    FS - successor start only after predecessor finish
    SS - successor start at the same time as predecessor
    FF - both successor and predecessor finish at the same date

    I know this can be done using MS Project but Im trying to achieve something simpler and in Excel as its more flexible.

    Ive attached sheet with the desired results

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Mini Scheduler in Excel

    I think this is what you want. I copied the Workday function all the way down so I get slightly different results.

    The macro name is MakeSchedule.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425

    Re: Mini Scheduler in Excel

    Hi dflak,

    Thanks a lot for taking the time...

    I found some glitches while checkingthe macro.I think the finsh date also needs to be programmed( if possible)

    Also if you could add some error handling like if all relationships are not entered dont run the macro and display a error message.

    Please find attached the file which I found some minor errors in the finish date where all C,D and E finish date should be the same
    Attached Files Attached Files

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Mini Scheduler in Excel

    The answer is to work the Workday.Intl formula backwards. -- I'll need to work that one out.

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Mini Scheduler in Excel

    Rather than figure out something sophisticated to reverse engineer the formula, I decided to use brute force. For FF, I set the start date to one day prior to the desired finish date. Then I let it run through the formula and compare it to the desired finish date, if they are not equal, I take another day off the start date and loop until the start date, run through the formula is equal to the finish date.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    425

    Re: Mini Scheduler in Excel

    Hi dflak...

    Even though I didn't understand what you did there,it works perfectly...

    Just a couple of queries ( Maybe Im getting greedy here)

    1. Is it possible to have multiple relationships for a activity ( and the latest date result from these relationships will be used .For Eg if B has FS from A and FS from C also the latest finish date of these two will be assigned to B finish date.
    2. Error handling if all relationships are not entered.


    thanks in advance

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Mini Scheduler in Excel

    It may be possible, but I'm not taking it on. If you want that much, get MS-Project.

+ 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. Using Excel as a scheduler
    By j_Southern in forum Excel General
    Replies: 0
    Last Post: 01-21-2014, 06:55 AM
  2. Running Excel from task scheduler. Scheduler doesn't end
    By tony h in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-31-2013, 09:49 PM
  3. Want to use Mini-iPad with [Excel on my desktop]
    By LariRudi in forum Excel General
    Replies: 10
    Last Post: 12-15-2012, 06:57 PM
  4. Using Excel like Mini-Twitter
    By AAKASH JAIN in forum Excel General
    Replies: 7
    Last Post: 12-30-2011, 04:51 AM
  5. Mini golf excel game?
    By navjeet8 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 01-29-2008, 05:19 PM
  6. VB Excel --> Max & Mini with Dynamics !
    By t4fast in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2006, 04:19 PM
  7. Moving Access Mini App to Excel
    By Sprinks in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2005, 12:06 PM
  8. [SOLVED] Mini-editor for nested IF's in Excel
    By Erik Neu in forum Excel General
    Replies: 4
    Last Post: 01-04-2005, 08:06 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