How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (2024)

What is a stacked bar/column chart?

As evident from the name, a stacked bar chart is the one that represents data series stacked on top of one another.

It is a cumulative bar chart that represents data in adjacent horizontal bars only slightly more advanced. The bar chart allows users to compare the values of different categories individually and their contribution to the whole data in one place 🀯

Each bar represents a category of data and the height of the bar represents the total value of that category. The bar is divided into subcategories of the data shown by shaded parts of the bar.

There are four commonly used variations of a stacked bar chart, these include a 2D chart, a 100% 2D chart, a 3D chart and a 100% 3D chart πŸ“ˆ

These are not very different from each other, a 2D graph gives you the view of a place whereas a 3D shows you the graph in three dimensional.

The 100% bar charts show all bars of the chart reaching the 100% mark which is helpful when you want to compare the relative size of each sub-section in a category.

When to use a stacked bar/column chart?

The answer to this question depends on what you require from the chart. A stacked bar graph offers multiple uses, a few of which include visualizing large data sets, performing data analysis, quick comparisons and more πŸ’Ή

Let’s see some common uses of a stacked bar chart below.

  • Overview of a large data set
  • Comparison and contrast between categories of a dataset
  • Distributing data in different classes
  • Visualization of data grouped in different categories
  • Dynamic data visualization showing changes made over time

You would see stacked bar charts being used in the corporate world to show the current trends or changes made in monthly or annual sales.

That’s because data visualization makes the task of explaining a dataset of over a thousand entries way easier πŸ˜€

How to create a stacked bar chart in Excel?

Let’s now see how to create a stacked bar chart in Excel below πŸ”½

Say, we have the following data set which has the quarterly sales of different categories across four regions. We want to plot his data on a stacked bar chart to see which product made the maximum sales.

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (1)

To do that,

Step 1) Select the entire data set on the worksheet or press CTRL + A to select data.

Step 2) Go to the Insert tab and click on Recommended Charts.

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (2)

Step 3) The Insert Chart dialog box will appear on the screen.

Step 4) On the dialog box, go to the All Charts tab.

Step 5) Select bar from the categories.

Step 6) In the bar category, click on the second option and select the stacked bar chart.

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (3)

Step 7) Press Ok.

The chart will appear on the screen as:

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (4)

Note that the product categories are plotted on the Y axis whereas the regions and quarters are on the X axis ❌

Let’s now see what more you can do with this chart.

Now that you have your chart, you can make edits to it as you like. At the top right corner of the chart, there is a plus (+) icon that takes you straight to Chart Elements.

You can select different chart options from here to alter your chart. If you uncheck the Axes box, the name of the axes will disappear from your chart.

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (5)

Similarly, if you want to have separate titles for each axis, click on the Axis Titles option and add a title for each axis.

You can also add the chart title, the data labels, and error bars. If you want to remove the lines behind the stacked bars, uncheck the Gridlines option.

Unchecking the Legend box at the bottom of Chart Elements removes the Names of regions and Quarters given at the bottom of the chart.

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (6)

You can also change the theme of the chart by clicking on the paintbrush icon. To change the color palette of your chart, switch to the color tab on the dropdown 🎨

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (7)

As the picture suggests, the last icon works like a funnel. It filters out elements of the chart that you want to eliminate. This is useful when you want all the attention on a certain aspect of the chart.

For example, in our chart above, we unchecked the categories Clothing and Home Goods and region of North in all quarters. As a result, Excel shows the chart with these components removed.

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (8)

Pretty easy, no? πŸ˜ƒ

How to create a stacked column chart?

Creating a stacked column chart is pretty much the same as creating a stacked bar chart in Excel. The only difference is that the stacked column chart represents data in vertical bars πŸ“Š

Below are some easy steps to follow to create a stacked column chart.

We have the same sample data as earlier.

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (9)

To create a column chart,

Step 1) Select the data set in your worksheet.

Step 2) Go to the Insert tab and click on Recommended Charts.

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (10)

Step 3) The recommended charts dialog box will appear on the screen.

Step 4) On the dialog box, go to the All Charts tab.

Step 5) In the column category, click on the second option and select the stacked column chart.

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (11)

Step 6) Press Ok.

The chart will appear on the screen as:

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (12)

How cool is that?

The customization options are the same for both charts. You can make edits to your chart like we did with the stacked bar chart.

You can change the style of the chart, the colors of bars and the number of items appearing on the chart using the options given at the top right corner of the chart.

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (13)

What if after personalizing the entire chart you feel like the stacked bar chart fits better for this data? πŸ€”

You would assume you have to create a new chart with all the changes included, right? Luckily, Excel charts are dynamic. To change your chart type, you need to perform three steps only.

Step 1: Right-click the chart.

Step 2: Click on the Change the Chart Type option from the dropdown.

Step 3: Select the chart you want to project your data on.

And it’s done! The edits and data on your previous chart will appear on your new chart just like that. How simple is that?

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (14)Kasper Langmann, co-founder of Spreadsheeto

Troubleshooting stacked charts

Creating a tacked bar/column chart is an extremely easy task since Excel does most of the behind-the-scenes work. However, if you are encountering problems projecting your data on the chart as desired, you might be making some mistake 😟

Let’s see the common errors in creating a stacked chart and what you can do to fix them.

Not selecting complete data set

The prime reason why your chart might be misbehaving or not showing results as desired could be because you are selecting incomplete data.

The sample data in the example above was rather miniscule so even leaving that out won’t make much of a difference.

But for organizations dealing with large data, you need to double-check the data selection because each value is important – let alone the numerical values of an entire field. In case you forgot to select some part of the data, simply click on the chart.

You will see the data set highlighted in red and blue for the x and y axis, respectively. Simply drag the Fill Handle to include the remaining data set to your chart and it’s done πŸ˜ƒ

Choosing wrong chart type

Stacked bar/column charts are used widely to represent trends and comparisons of data but this does not mean they are well suited for every data set.

Your chart type should be in line with the amount of your data. A stacked chart can effectively represent a moderate size of data πŸ“—

However, projecting a huge data set will not only make the chart an ineffective way to present the data but will also make it difficult to understand the data.

To avoid these complications, choose different types of charts that complement your data set.

Conclusion

In this tutorial, we saw how to create a stacked bar chart in Microsoft Excel. We also saw how to create a stacked column chart and how you can customize it as you like 🧐

To learn more about charts in Excel, give the following articles a read:

How to Create a Chart Area in Excel (2024)

How to Add Axis Labels in Excel Charts (X and Y Titles)

We hope you enjoyed reading this article as much as we did crafting it! πŸ€—

How to Create a Stacked Bar Chart in Excel (Easily) - Spreadsheeto (2024)

References

Top Articles
Latest Posts
Article information

Author: Clemencia Bogisich Ret

Last Updated:

Views: 6007

Rating: 5 / 5 (80 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Clemencia Bogisich Ret

Birthday: 2001-07-17

Address: Suite 794 53887 Geri Spring, West Cristentown, KY 54855

Phone: +5934435460663

Job: Central Hospitality Director

Hobby: Yoga, Electronics, Rafting, Lockpicking, Inline skating, Puzzles, scrapbook

Introduction: My name is Clemencia Bogisich Ret, I am a super, outstanding, graceful, friendly, vast, comfortable, agreeable person who loves writing and wants to share my knowledge and understanding with you.