+ Reply to Thread
Results 1 to 3 of 3

Stacked boxes chart

  1. #1
    Registered User
    Join Date
    03-30-2021
    Location
    Greece
    MS-Off Ver
    Office 16
    Posts
    2

    Question Stacked boxes chart

    Hello!
    I don't know to much about excel and I can't find that on internet. I want to have a chart like I'm showing in the image. I don't even know if it is a chart. Just a visualization, with one row of stacked boxes, of the time that is dedicated to the names. The length of the boxes is the duration of the time. Same names must have the same box color. If there is a gap at the times in the table then there is a gap in the chart too. Do you know how I can do it?
    image 1.png
    Last edited by Panos0; 03-31-2021 at 04:25 PM.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    13,289

    Re: Stacked boxes chart

    Start by getting the data right in the spreadsheet. What you have is good. In order to get the "gap", you will need to insert a row between Mark and Tom and enter 2:7:39 (or B6-C4) into the new D5. You will also need a "gap" before John to account for the 10 minutes 35 seconds between midnight and his start time, so insert a row before John and enter 0:10:35 (or =B3) in the new D2.
    Select A2:A10 ctrl D2:D10 -> Insert stacked bar chart. Excel will default to a chart with the names along the vertical axis and time along the horizontal axis with one "duration" data series. Find the "Switch Row/Column" command and execute to get something very close to the chart you show in your picture. Format chart elements as desired (such as formatting gaps to have no fill color).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    03-30-2021
    Location
    Greece
    MS-Off Ver
    Office 16
    Posts
    2

    Re: Stacked boxes chart

    Thank you for the detailed answer! I would like to know if there is an automatic way for excel to do it (gaps and colors), because the data I have are too many and I can't do it manually!
    Last edited by Panos0; 03-31-2021 at 05:30 PM.

+ 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. [SOLVED] Combine stacked columns and stacked bars in a chart
    By maboho93 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 02-09-2018, 07:52 AM
  2. Replies: 5
    Last Post: 12-09-2015, 12:41 PM
  3. Stacked bar chart with stacked secondary axis markers - please help!
    By Boardlady in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-22-2013, 10:32 AM
  4. Replies: 1
    Last Post: 05-30-2013, 10:03 AM
  5. [SOLVED] How can I combine a stacked bar chart with stacked colum chart?
    By Sin in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 12-19-2005, 11:55 PM
  6. Replies: 1
    Last Post: 03-26-2005, 02:06 PM
  7. To create a stacked column chart and group the stacked bars togeth
    By Jacqueline in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-18-2005, 10:06 AM

Tags for this Thread

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