Excel Barchart: Axis title

Posted on 2011-10-07
Last Modified: 2012-05-12
Please let me know how I can group columns in an excel chart and assign a name to that group

I have attached my original chart, and the desired chart.

Thanks! Chart
Question by:dshrenik
    LVL 92

    Expert Comment

    by:Patrick Matthews
    You cannot do this with a normal chart, but you (sort of) can with a PivotChart.

    For example:

    1) Put the following data into a worksheet:

    G Level      Div      Prod      Color      Sales
    G1      1.1      P1      Red      560
    G1      1.1      P1      Green      678
    G1      1.1      P1      Blue      374
    G1      1.1      P2      Red      472
    G1      1.1      P2      Green      607
    G1      1.1      P2      Blue      649
    G1      1.2      P3      Red      746
    G1      1.2      P3      Green      895
    G1      1.2      P3      Blue      508
    G1      1.2      P4      Red      485
    G1      1.2      P4      Green      283
    G1      1.2      P4      Blue      123
    G2      2.1      P5      Red      596
    G2      2.1      P5      Green      888
    G2      2.1      P5      Blue      869
    G2      2.1      P6      Red      503
    G2      2.1      P6      Green      664
    G2      2.1      P6      Blue      738
    G2      2.2      P7      Red      136
    G2      2.2      P7      Green      292
    G2      2.2      P7      Blue      455
    G2      2.2      P8      Red      518
    G2      2.2      P8      Green      874
    G2      2.2      P8      Blue      523

    2) Create a PivotTable based on those data, with G Level, Div, Prod, and Color as row labels, and Sum of Sales as the value field

    3) Create a PivotChart based on that PivotTable

    You might also want to see this article for additional PivotTable/PivotChart tips:

    Author Comment

    Can you show me a sample picture, as to how it might look like?

    LVL 92

    Accepted Solution

    Here's a sample file

    LVL 50

    Assisted Solution

    Not for points.

    You don't need a pivot chart. Excel supports multi-level category labels in regular charts. You only populate the first instance of a new row title, then create a chart, and it will turn out just the same. See attached chart, on the Data Sheet.

    cheers, teylyn

    LVL 92

    Expert Comment

    by:Patrick Matthews

    Is that a new feature from the revised chart engine that came with Excel 2007, or had it been there all along?

    Never knew about that trick :)

    LVL 50

    Expert Comment

    Nope, works in 2003 as well, in all its ugly glory


    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
    How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
    The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
    This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now