+ Reply to Thread
Results 1 to 8 of 8

Looking to create a schedule chart for workshops

  1. #1
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Looking to create a schedule chart for workshops

    Hi, I have a schedule chart that I need to fill with workshops from a data sheet, I need a formula that will look at the data and distribute it into the chart accordingly as each weeks dates change.

    Please see the attached workbook for details.

    Thanks in advance

    Cheers

    JD
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: Looking to create a schedule chart for workshops

    Here is another example that may be easier to understand I have entered a formula into the chart but it dosent seem to work on certain entries for some reason, am I going in the right direction?
    Attached Files Attached Files

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Looking to create a schedule chart for workshops

    Take a look at the attachment and see if that works for you. I used a formula approach which will not allow you to merge cells. If you want a VBA approach, you should post in the Excel Programming folder.

    I created two new columns to combine date and time in your DataSource sheet (Columns F and G)

    In B8 copied across and down
    =IFERROR(IF(SUMPRODUCT(--('Data Source'!$F$3:$F$23<= B$7+$A8), --('Data Source'!$G$3:$G$23> B$7+$A8))=0,"",INDEX('Data Source'!$A$3:$A$23,SUMPRODUCT(--('Data Source'!$F$3:$F$23<= B$7+$A8), --('Data Source'!$G$3:$G$23> B$7+$A8), ROW($A$3:$A$23)-2))),"")

    To create the illusion of merged cells, I used conditional formatting, formatting font white and appropriate borders
    Select B9:F27
    Conditional formatting>Use Formula> =AND(LEN(B8)>0, LEN(B9)>0, LEN(B10)>0) format side borders only
    Rule 2
    COnditional Formatting>Use Formula =AND(LEN(B9)>0, LEN(B10)=0) format side and bottom borders.

    NOTE: Your 2/25 1PM time doesn't work because you have two programs scheduled for the same time.
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: Looking to create a schedule chart for workshops

    Hi had a look at the sheet, I altered some of the start times just have a look as it dosent seem to like what I have done.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Looking to create a schedule chart for workshops

    I had to mess with the Conditional Formats a bit.
    Rule 1
    =AND(LEN(B9)>0,B8=B9, B10<>B9) with white font and bottom and side borders

    Rule 2
    =AND(LEN(B8)>0, B8=B9, B9=B10) with white font and side borders
    See attachment.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: Looking to create a schedule chart for workshops

    Hi, the sample workbook is fine and works brilliantly but I cant seem to tranfser it into my actual sheet, the bit that is bothering me is ...

    ROW($A$3:$A$23)-2))),"") part of the formula, does the a3:a23 work in tandem with the INDEX('Data Source'!$A$3:$A$23 part and does it need to extend as far as the data source does e.g. if it is A3:A100 in the data source does the ROW section also need to be A3:A100?

    JD

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Looking to create a schedule chart for workshops

    yes, that range should equal your other ranges in length.

  8. #8
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: Looking to create a schedule chart for workshops

    Brilliant, thought I better ask before I changed anything, thanks for the help mucha appreciated.

    JD

+ 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. 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
  2. Workshops And/Or Best Way to Learn VBA for Excel
    By cbcbcb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-26-2010, 02:27 AM
  3. excel conferences and/or workshops
    By dancmin in forum Excel General
    Replies: 3
    Last Post: 09-09-2009, 11:24 AM
  4. Replies: 8
    Last Post: 10-12-2005, 12:05 AM
  5. [SOLVED] Financial workshops on Optimisation
    By UNICOM in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-17-2005, 06:05 AM

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