What a stacked column chart does and when to use it
A stacked column chart is a column chart where each column is divided into segments, one stacked on top of another. Instead of showing bars side by side, it shows how different categories add up to a total, and how each piece contributes to that total. Excel calls this chart type "Stacked Column" in its chart menu.
Use a stacked column chart when you want to show both the total amount and how that total breaks down by category across different time periods or groups. For example, you might use one to show total sales by quarter, with each quarter's column divided into segments for different product types. A stacked column chart makes it easy to see which segment is largest and how the breakdown changes from one column to the next.
Do not use a stacked column chart if you need to compare the exact values of segments across columns — the segments do not all start at the same baseline, so comparing their heights becomes difficult. In that case, a clustered column chart (bars side by side) works better.
Key Takeaways
- Arrange your data in a table with one column for the category labels, one column for each segment you want to stack, and one row per data point.
- Select your entire data range including headers, go to the Insert tab, click Chart, and choose the Stacked Column option.
- Excel builds the chart automatically, but you can change the column order, colors, and labels by right-clicking on the chart and editing its properties.
- The segment that appears at the bottom of each column is the first data column in your table; segments stack upward in the order they appear left to right.
Prepare your data in the right shape
Before you create the chart, your data must be organized in a specific way. Start with a table where the first column contains your category labels — these become the labels on the horizontal axis. If you are charting sales by quarter, the first column holds "Q1", "Q2", "Q3", "Q4". If you are charting by region, it holds "North", "South", "East", "West".
Each column to the right of the first column represents one segment that will be stacked. If you want to show revenue broken down by product type, you might have columns labeled "Product A", "Product B", and "Product C". Each row below the headers contains the numbers for that category and segment. The numbers should be actual values, not formulas that reference other cells — though formulas work fine too.
Here is a simple example: a table with quarters in the first column, then columns for "Online Sales", "In-Store Sales", and "Phone Sales". Each cell contains the dollar amount for that combination. Do not leave blank cells in your data range; if a value is zero, enter 0.
Select the data and insert the chart
Click on the first cell of your data table (the cell containing your first category label or header) and drag to select the entire range, including all headers and all data. You can also click the first cell and then hold Shift and click the last cell to select the range. Make sure you include the header row — Excel uses it to label the segments in the chart.
With your data selected, go to the Insert tab at the top of the ribbon. Click the Chart button. A dialog box opens showing different chart types on the left side. Look for Column in the list and click it. You will see several column chart subtypes appear on the right. Click the one labeled Stacked Column — it shows columns divided into colored segments stacked vertically. Click OK or Insert to add the chart to your sheet.
Excel places the chart on your worksheet. It may overlap your data, which is fine — you can move it by clicking and dragging. The chart is now live and linked to your data: if you change a number in the table, the chart updates automatically.
Change the order of segments and their colors
By default, the segments stack in the order they appear in your table from left to right. The leftmost data column becomes the bottom segment, and the rightmost data column becomes the top segment. If you want to change this order, right-click on the chart and select Edit Data or Select Data (the exact wording depends on your Excel version). A dialog box opens showing your data series listed in order. Click a series name and use the up or down arrow buttons to move it higher or lower in the stack.
To change the color of a segment, right-click directly on that segment inside the chart — click on the colored area itself, not the background. A menu appears. Select Format Data Series or Format Data Point. A panel opens on the right side of the screen with color options. Click Fill and choose a new color. Repeat for each segment you want to recolor.
You can also add a title to the chart by clicking the chart once to select it, then looking for a Chart Title option in the Chart Design or Layout tab. Type a title that describes what the chart shows.
Add and format axis labels and the legend
The horizontal axis (the bottom) shows your category labels automatically. The vertical axis (the left side) shows the scale of values. Both are usually readable as-is, but you can change them if needed. Right-click on the chart and select Edit Chart or double-click the chart to enter edit mode. Then right-click on the axis you want to change and select Format Axis. You can adjust the number format, the minimum and maximum values, and the interval between tick marks.
The legend appears to the right of the chart by default and shows which color represents which segment. If you want to move it, right-click the chart, select Legend, and choose a new position — bottom, top, left, or right. If the legend is too small to read, you can make the chart larger by clicking and dragging its corner handle.
To add labels that show the actual numbers on each segment, right-click the chart, select Add Chart Element or Data Labels, and choose where to place them. Be aware that too many labels can make the chart crowded and hard to read.
Troubleshoot common problems
If your chart does not look right, the most common cause is that your data is not arranged correctly. Make sure your first column contains category labels and your remaining columns contain the numbers to stack. If you included a row of totals at the bottom of your table, exclude it from your selection — the chart will treat it as another category and add a column for it.
If the segments are in the wrong order, use the Select Data dialog (right-click the chart and choose Edit Data or Select Data) to reorder them. If a segment is missing entirely, check that the column header is included in your selection and that the column contains numbers, not text.
If the chart is too small or too large, click it once and drag a corner handle to resize it. If the legend is covering part of the chart, move it by right-clicking and selecting Legend, then choosing a different position. If the axis labels are cut off or overlapping, make the chart wider or taller, or right-click the axis and reduce the font size.
Frequently Asked Questions
Can I make a 100% stacked column chart instead?
Yes. A 100% stacked column chart shows each segment as a percentage of the total rather than as an absolute value. Select your data, insert a chart, and in the Column chart type list, choose 100% Stacked Column instead of Stacked Column. This is useful when you want to compare the proportions across categories rather than the actual amounts.
What if I want to show data for multiple years side by side?
Organize your data so that each row is a year, and each column is a category or segment. Then use a clustered column chart instead of a stacked column chart. If you want stacked columns for each year, put the year in the first column and the segments in the remaining columns, just as you would for quarters or regions.
How do I remove a segment from the chart?
Right-click the chart and select Edit Data or Select Data. In the dialog, find the segment you want to remove in the data series list, click it, and click the Remove button. The segment disappears from the chart but your original data table is not affected.
Can I add a line showing the total on top of the stacked columns?
Yes, but it requires a second data series. Add a column to your data table with the totals for each category. Then right-click the chart, select Edit Data, and add that column as a new series. Right-click that series and select Change Series Chart Type. Change it to a line chart while keeping the other series as stacked columns. This creates a combo chart with stacked columns and a line overlay.
Why does my chart show the data in a different order than my table?
Excel sometimes reverses the order of segments from bottom to top. Right-click the chart, select Edit Data or Select Data, and use the arrow buttons to reorder the series until they match what you want. The bottom segment in the chart corresponds to the first series in the list.