This article was previously published under Q214119
For a Microsoft Excel 97 version of this article, see 77241.
Normally, data series in a stacked column or bar chart have one stackper category. However, it is possible to arrange your data so that thechart appears to have more than one stack per category.
The following sample data produces 10 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.
Select cells A1:E11, and then click Chart on the Insert menu.
Click the Standard Types tab. Click Column in the Chart type list, click the Stacked Column icon (the second selection) under Chart sub-type, and then click Next.
In step 2 of the Chart Wizard, click the Series tab. In the Series list, click X, and then click Remove.
Type the following in the Category (X) axis labels box:
Click Next twice to move to step 4 of the Chart Wizard.
Click As new sheet, and then click Finish.
The labels X1 through X5 appear along the horizontal axis. Y1 throughY4 appear in the legend as series names. You can extend this chart toinclude 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 pergroup. To add another group of two bars, insert a row before each X label, and then 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 ineach stack. For example, if the values for Y3 in the chart (displayed in step 1) are moved to the first row of each group, the chart still has two stacks per group. However, the first stack contains three columns and the second stack contains only one column.
For more information about chart types, click Microsoft Excel Help on the Help menu, type examples of chart types in the Office Assistant or the Answer Wizard, and then click Search to view the topic.