+ Reply to Thread
Results 1 to 4 of 4

create stacked bar chart

  1. #1
    Registered User
    Join Date
    06-08-2017
    Location
    pittsburgh
    MS-Off Ver
    2016
    Posts
    9

    create stacked bar chart

    I am trying to make a stacked bar chart for multiple years but it does not seem to be working. What do I need to do? I'd like it to show the DX and amount by color for each year. Thanks.


    sample excel.xlsx
    Attached Images Attached Images

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

    Re: create stacked bar chart

    It's not clear to me exactly what you want. The first thing I notice is that this data is not arranged in a good way for creating a stacked bar/column chart, though it is well arranged as a database for pivot tables and other things. My first guess at what you want:

    1) I select the table and insert a pivot chart with year as the row label, diagn1 as the column labels, and sum of count_dx as the pivot values.
    2) Select the pivot table and insert a stacked column/bar chart.

    I'm not sure exactly what you are looking for, but one of the first steps to creating your chart is rearranging the data in the spreadsheet. As a first guess, a pivot table is a quick and easy way to rearrange and summarize data in preparation for creating charts.

    If you are unfamiliar with pivot tables in Excel: https://www.excel-easy.com/data-****...ot-tables.html
    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
    06-08-2017
    Location
    pittsburgh
    MS-Off Ver
    2016
    Posts
    9

    Re: create stacked bar chart

    thanks. When I do a pivot and put diagn1 in column and year in rows it looks right but where do I put the count field? It doesn't seem to work.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,437

    Re: create stacked bar chart

    In the tutorial's picture of the PivotTable Fields dialog, count_dx would go in the lower right "Values" field.

+ 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. How to create a stacked chart
    By stephme55 in forum Excel General
    Replies: 1
    Last Post: 06-22-2016, 07:04 AM
  2. trying to create a stacked bar chart
    By syguy in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-15-2014, 03:48 AM
  3. How to create a stacked chart
    By Charlemagne in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-27-2012, 03:59 PM
  4. How to Create a Stacked Bar and a Bar within same Chart
    By AllisonT in forum Excel General
    Replies: 0
    Last Post: 06-29-2012, 07:24 PM
  5. [SOLVED] how do I create a stacked bar chart on 2 axis>
    By peterhall99 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-26-2006, 02:45 AM
  6. how do I create a stacked bar chart in excel
    By PatK in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-05-2005, 10:06 AM
  7. [SOLVED] 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