How to Use a Stacked Column Chart in Excel
In this article
A stacked column chart in Excel shows how a total breaks down into parts: each vertical bar represents a category, and each bar is split into coloured segments for the components that make up that category. You build one by arranging your data with categories down the left column, one column per series, a header row of series names, selecting the whole range, and choosing Insert > Insert Column or Bar Chart > Stacked Column. The rest of this guide covers preparing the data correctly, refining the chart, switching to a 100% stacked version, and fixing the problems that most often go wrong. Note that Excel's ribbon labels differ slightly between versions, platforms and regions, so if a button name looks different on your copy, look for the closest match.
What You'll Need
- Excel for Windows, Mac, the web, or iPad/iPhone. The desktop versions give the fullest set of formatting options; the mobile apps can create a stacked column but expose fewer formatting controls.
- Data laid out in a table: one column of category labels, then one column per series, with a header row.
- Consistent units. Every series you stack must be measured in the same unit (all hours, all dollars, all units), otherwise the stack height is meaningless.
- A decision on whether you want a normal stacked column (segments show real values) or a 100% stacked column (segments show shares of a whole).
Step-by-Step
- Lay out the source data. Put your category names in the first column (for example, months or product lines), one column per series in the columns to the right, and clear header labels above each series. Do not merge cells and do not leave blank rows or columns inside the range — Excel treats blanks as a break in the data and will often plot them as gaps.
- Check that the numbers are really numbers. Text that looks numeric (numbers stored as text, often left-aligned instead of right-aligned) will be plotted as zero. Select the cells, and if Excel shows a warning marker, use the convert-to-number option it offers. Alternatively, retype the values or use Text to Columns to force a numeric format.
- Select the entire range, including the header row and the category column. Click the top-left cell of your data and drag to the bottom-right, or click inside the range and press Ctrl+A (Cmd+A on Mac) to grab the current block.
- Insert the chart. On the ribbon, go to Insert > Insert Column or Bar Chart and pick the Stacked Column option (the second icon in the 2-D Column group). The 100% Stacked Column option sits beside it and shows proportions rather than raw totals. On Excel for the web the same Insert menu carries the column chart choices; on iPad and iPhone, select the range, tap Insert, then Chart, then choose the column type.
- Confirm the orientation. Excel usually guesses correctly, but check that your series names appear in the legend and your categories appear under the bars. If the months are in the legend and the products are on the axis, the rows and columns are swapped — fix this in the next step.
- Swap rows and columns if needed. Select the chart, then use Chart Design > Switch Row/Column. This transposes the plot without touching your worksheet data.
- Fix any series Excel missed. Select the chart, go to Chart Design > Select Data. In the dialog, add, edit or remove series, set each series name to the header cell, and set the horizontal axis labels to your category column. This is the reliable repair when blank cells or stray text broke the automatic range.
- Add a chart title and axis titles. Click the chart title placeholder and type a specific title, such as "Support Tickets by Channel, Q1". For axis titles, use Chart Design > Add Chart Element > Axis Titles and label the vertical axis with the unit (hours, dollars, units).
- Format the segments. Right-click a segment and choose Format Data Series to change fill colour, add a border, or set a gap width to control bar thickness. Keep colours distinct but not garish, and use the same colour for the same series across every bar — Excel does this automatically, so resist recolouring individual segments unless a single value needs emphasis.
- Add data labels where useful. Chart Design > Add Chart Element > Data Labels adds values to the segments. On a busy chart, labels on every segment look cluttered; consider labels only on the largest series, or use a legend plus the axis scale instead.
- Decide the total question. If readers need to see the combined total for each category, a stacked chart gives it visually but does not print the number. Add a "Total" row in the worksheet and either show it in the chart title text or add a line or labels for clarity.
- Test the chart's readability. Copy the chart, change data in the worksheet, and confirm the bars update. If they do not, the chart is pointing at the wrong range — revisit Select Data. Also check how the chart looks at the size it will be printed or pasted; stacked charts with many segments shrink poorly.
- Save and reuse. Save the workbook. To reuse the design, right-click the chart and choose Save as Template, then apply it to future charts through Insert > Charts > Templates.
Common Mistakes
Using the wrong chart type for the comparison. Stacked columns are for totals and their composition. If your goal is comparing individual series against each other, a clustered column reads better, because only the bottom stacked segment shares a common baseline.
Stacking series measured in different units. Adding revenue to headcount produces a bar with no meaning. Keep every series in the same unit.
Too many segments. Beyond five or six series, the middle segments become impossible to compare. Group small categories into "Other" or switch to a 100% stacked chart if share is the point.
Leaving blank cells in the range. Blanks become gaps or zeros and can shift the series assignment. Fill them or remove the row.
Numbers stored as text. Bars appear flat or missing because Excel plots text as zero. Check alignment and the warning marker in the cell corner.
Negative values. A negative value in a stacked series drops below the axis and makes the total misleading. If negatives are real, use a clustered chart, or split positives and negatives into separate charts.
Tips
Put the series you want readers to compare most at the bottom of the stack, since only the bottom segment and the overall height are easy to read accurately. Keep the legend at the top or bottom rather than the side, so it does not steal plotting width. Use a 100% stacked column when the question is "what share of the total?" — the bars all end at 100%, which makes proportions comparable across categories of different sizes. Sort categories by total value rather than alphabetically; it turns the chart into a ranking. For dashboards, delete the chart border and gridlines, keep light axis text, and let the bars carry the message. If the same chart must be refreshed monthly, convert your source range to an Excel Table first; charts built on a table expand automatically as new rows are added.
Troubleshooting
The bars are flat or empty. Check whether the cells are stored as text. Selecting them and using the error-check option, or reformatting the column as Number and re-entering the values, fixes it. Also confirm the chart range actually includes the numeric columns via Select Data.
The legend lists the wrong thing. Your rows and columns are transposed. Use Chart Design > Switch Row/Column, or rebuild the series in Select Data with the correct column references.
A series is missing from the chart. It was outside the selected range or Excel skipped a blank header. Open Select Data and add the series manually, pointing the series name at the header cell.
The stack order looks wrong. Series plot bottom-up in the order they appear in the Select Data list. Use the up and down arrows there to reorder them rather than editing the worksheet.
The chart will not shrink cleanly. Too many categories are packed in. Reduce the data shown, rotate the axis labels, or move to a line chart for trend data.
Updates are not appearing. The chart is likely pointing at a fixed range while you added rows elsewhere. Convert the source to a Table, or extend the range manually. If the workbook is shared, check that you are editing the version the chart lives in.
Frequently Asked Questions
What is the difference between a stacked column and a 100% stacked column?
A stacked column shows real values, so total bar heights vary and you can read absolute amounts. A 100% stacked column forces every bar to the same height and shows each series as a share of that category's total, which suits proportion comparisons.
Can I stack a column and a line in the same chart?
Yes. Excel offers a combo chart via Insert > Recommended Charts or Change Chart Type, where you set some series to stacked column and one to line. The line then typically plots against a secondary axis, which is worth labelling clearly.
Why do my stacked bars not add up to the total I expect?
Usually a series is missing from the chart range, or a value is stored as text and plotted as zero. Verify the range in Select Data and confirm each cell is numeric.
How many series should a stacked column have?
Keep it to roughly three to five. More than that and the middle segments become too small and too similar in colour to compare, which defeats the purpose of the chart.
Can I add a total label above each stacked bar?
Excel does not add stack totals by default. The practical options are a separate series plotted as a line or scatter point at the totals, or simply stating totals in the chart title or a small data table beneath the axis.