+ Reply to Thread
Results 1 to 6 of 6

Gantt, timeline chart, multiple bars on the row, line ?

  1. #1
    Registered User
    Join Date
    05-05-2010
    Location
    Molonga
    MS-Off Ver
    Excel 2003
    Posts
    3

    Gantt, timeline chart, multiple bars on the row, line ?

    How can I make a Gantt, timeline chart but with multiple bars on the same row, in Excel?

    I want to make an Excel chart that displays the intervals of time a certain room of a hotel is occupied (somebody pays for it). The chart should look like the one which I tried to draw below where "#####" is a black bar and "____" an empty white space.
    Y axis have to contain the rooms ordered from 1 to n and X axis the years and months or only the years.

    I have the date the client (various clients) went into each room and also the date when he or she left the hotel.

    Room 1 | #####____######_________###########

    Room 2 | ____########_____#########_____#################

    Room 3 | ######__#######_______________###########

    Room 4 | #####_____#########___#####__####__####___####


    QUESTION: How can I build, display such a chart in Excel starting from "Check-In" and "Check-Out" data that I have for each room?

  2. #2
    Forum Contributor
    Join Date
    02-25-2010
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    174

    Re: Gantt, timeline chart, multiple bars on the row, line ?

    Unfortunately its not an easy option, here is what I came up with. The problem is that because I use a formula, there are not any gaps, if you delete the formula in the cells where it is blank the gap actually appears. Graphs are kind of annoying like that.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-05-2010
    Location
    Molonga
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Gantt, timeline chart, multiple bars on the row, line ?

    Thank you for your answer.
    Can you save that file "Gantt Test.xlsx" in xls format and post it again, because I have Excel 2002 and I can not open it.

  4. #4
    Forum Contributor
    Join Date
    02-25-2010
    Location
    Boston
    MS-Off Ver
    Excel 2007
    Posts
    174

    Re: Gantt, timeline chart, multiple bars on the row, line ?

    Not a problem, I think these equations work in 2003.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-05-2010
    Location
    Molonga
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Gantt, timeline chart, multiple bars on the row, line ?

    OK, I have opened it.
    Your idea is interesting and it inspired me to build a bar chart (see the attached file). Unfortunately, I also have to modified the chart by hand and also this bar chart suffers from other problems like displaying % on the X axis.

    Maybe there is a way in VBA to quickly and automatically change the settings of the chart and transform it from a multicolor diagram to something that looks like the drawing in my first post.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-20-2011
    Location
    Germany
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Gantt, timeline chart, multiple bars on the row, line ?

    Has anyone found a better solution for this task yet?

    Thanks in advance.
    Last edited by Iceblade; 05-20-2011 at 10:06 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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