+ Reply to Thread
Results 1 to 5 of 5

Multiple x-axis labels on a single bar chart

  1. #1
    Registered User
    Join Date
    06-21-2010
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    4

    Multiple x-axis labels on a single bar chart

    I want to chart sales for this year and last year, by region and by product type, in a single bar chart (this year and last year sales next to one another).

    I can see how to do this for each product type by itself, but if I want the chart to also display the region (and only do so once per region) how do I do that? I can do this if I create a PivotChart, but I don't see how to do this with a plain chart on basic data.

    (I've attached a sample sheet to this thread - Current is what I have currently, and Desired is, well, what I desire. But without having to use a PivotChart)

    Thanks

    James
    Attached Files Attached Files

  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 x-axis labels on a single bar chart

    James,
    delete the duplicate entries in column A, then highlight A2 to D11 and create a standard column chart. See attached in the Data sheet.

    cheers
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-21-2010
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Multiple x-axis labels on a single bar chart

    Thanks for that!

  4. #4
    Registered User
    Join Date
    11-09-2012
    Location
    Washington, DC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Multiple x-axis labels on a single bar chart

    Wow, when am I going to stop learning new things about Excel?

    I just joined and posted a new thread about this but closing it, should have looked here first! Only thing to remember is you can't sort your data in such a way that the higher-level category gets out of order.

    Thanks!

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Multiple x-axis labels on a single bar chart

    Quote Originally Posted by dannorthrup View Post
    Wow, when am I going to stop learning new things about Excel?
    Most likely never
    HTH
    Regards, Jeff

+ 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