Article ID: 77241 - Last Review: November 16, 2006 - Revision: 2.3 Creating charts with multiple groups of stacked barsThis article was previously published under Q77241 On This PageSUMMARY
Normally, data series in a stacked column or bar chart have one stack
per category. However, it is possible to arrange your data so that the
chart appears to have more than one stack per category.
The following sample data produces ten different stacks with two columns each. The first column has the Y2 value stacked over the Y1 value; every other column has the Y3 value stacked over the Y4 value. To create the chart, type the following into a worksheet: A1 : X B1 : Y1 C1 : Y2 D1 : Y3 E1 : Y4 A2 : X1 B2 : 1 C2 : 2 D2 : E2 : A3 : B3 : C3 : D3 : 3 E3 : 4 A4 : X2 B4 : 1 C4 : 2 D4 : E4 : A5 : B5 : C5 : D5 : 3 E5 : 4 A6 : X3 B6 : 1 C6 : 2 D6 : E6 : A7 : B7 : C7 : D7 : 3 E7 : 4 A8 : X4 B8 : 1 C8 : 2 D8 : E8 : A9 : B9 : C9 : D9 : 3 E9 : 4 A10: X5 B10: 1 C10: 2 D10: E10: A11: B11: C11: D11: 3 E11: 4 Microsoft Excel 97 for WindowsTo create the chart, follow these steps:
Microsoft Excel Versions 5.0 and 7.0To create the chart, follow these steps:
Microsoft Excel Versions 4.0 and EarlierTo create the chart, follow these steps:
MORE INFORMATION
The labels X1 through X5 appear along the horizontal axis. Y1 through
Y3 appear in the legend as series names. You can extend this chart to
include more groups by adding more data in two rows for each new
group.
The number of rows per category label defines the number of stacks per group. To add another group of two bars, insert a row before each X label and add two more columns of data in the new row, such as Y5 and Y6. The number of columns of data per row defines the number of columns in each stack. For example, if the values for Y3 in the above chart were moved to the first row of each group, the chart would still have two stacks per group. However, the first stack would contain three columns and the second stack would contain only one column. REFERENCESMicrosoft Excel 7.0For more information about column and bar charts in Microsoft Excel, click Answer Wizard on the Help menu and type:column charts bar charts Microsoft Excel 5.0For more information about column and bar charts in Microsoft Excel, click the Search button in Help and type:column charts bar charts | Article Translations
|
Back to the top
