+ Reply to Thread
Results 1 to 4 of 4

Multiple stacked bar w/ 2 y-axis

  1. #1
    Registered User
    Join Date
    11-23-2009
    Location
    Malvern, PA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Multiple stacked bar w/ 2 y-axis

    I'd like to graph multiple stacked bar charts on a single graph but because of the scale of one of the stacked bar charts, I need to place it on the secondary axis so the smaller stacked bar charts are still discernable.

    Say for example I want to graph a school district grades' that look like-
    Grades Elem 1 Elem 2 Elem 3 Elem 4 Jr High 1 Jr High 2 High
    A 15 15 15 15 15 15 120
    B 30 30 30 30 30 30 120
    C 10 10 10 10 10 10 120
    D 8 8 8 8 8 8 28
    F 5 5 5 5 5 5 20

    So I'd like to graph all of the schools on one chart, but the High school should be on the secondary y-axis because of the scale.

    (I know its possible to do this graph as a clustered graph, but to save space, on a dashboard for instance, I'd prefer to keep it as a stacked column.)

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Multiple stacked bar w/ 2 y-axis

    I think you'd need to trick it ...

    You can only plot a complete series on a secondary axis.

    In the attached I've created two separate charts, sized them just so and let them overlap. Looks like the real deal, though

    does that help?
    Attached Files Attached Files

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Multiple stacked bar w/ 2 y-axis

    It is possible to do in 1 chart, although you need to be careful the information is not mis-read.

    The series on the secondary axis have been formatted to match the primary axis series.
    You can delete the additional series from the legend.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    11-23-2009
    Location
    Malvern, PA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Multiple stacked bar w/ 2 y-axis

    Andy and Teylyn,

    Thank you both very much. Your solutions were both extremely easy to follow.

    Thanks again.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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