Stacked Bar Chart in Google Sheets: A Step-by-Step Guide

Gregory Jul 09, 2026

Creating a stacked bar chart in Google Sheets can be a powerful way to visualize and compare data across multiple categories. This type of chart is particularly useful when you want to show how different subgroups contribute to a total. Let's dive into the step-by-step process of creating a stacked bar chart in Google Sheets.

How to make bar graph in google sheets 10 Best Step by Step Guide
How to make bar graph in google sheets 10 Best Step by Step Guide

Before we begin, ensure that your data is structured in a way that makes sense for a stacked bar chart. Typically, you'll have a table with categories in the first column, subgroups in the second column, and the corresponding values in the subsequent columns.

How to Create Progress Bars in Google Sheets (Step-by-Step)
How to Create Progress Bars in Google Sheets (Step-by-Step)

Preparing Your Data

To create a stacked bar chart, you'll need to have your data structured in a way that Google Sheets can understand. The first column should contain the categories you want to compare, and the subsequent columns should contain the subgroups you want to stack. For example:

How to Make a Bar Chart in Google Sheets
How to Make a Bar Chart in Google Sheets

| Category | Subgroup 1 | Subgroup 2 | Subgroup 3 | |-----------|------------|------------|------------| | A | 10 | 20 | 30 | | B | 15 | 25 | 35 | | C | 20 | 30 | 40 |

Sorting Your Data

How to Make a Bar Graph in Google Sheets
How to Make a Bar Graph in Google Sheets

Before creating the chart, it's a good idea to sort your data by the subgroups. This will ensure that the subgroups are stacked in the correct order in your chart. To sort your data, select the entire table, click on "Data" in the menu, then "Sort A-Z" or "Sort Z-A" depending on your preference.

Alternatively, you can sort by a specific column by clicking on the header of that column and selecting "Sort A-Z" or "Sort Z-A".

Creating the Stacked Bar Chart

the title for google sheets column chart with text overlaying it in green and black
the title for google sheets column chart with text overlaying it in green and black

Now that your data is sorted, you're ready to create the stacked bar chart. Select the data you want to include in the chart, then click on "Insert" in the menu and select "Chart".

In the "Chart editor" that appears, select the "Stacked bar chart" option. You can then customize the chart by changing the chart title, axis titles, and legend. Once you're satisfied with the chart, click "Done" to insert it into your spreadsheet.

Customizing Your Stacked Bar Chart

How to Create Column Chart using data in google sheets
How to Create Column Chart using data in google sheets

Google Sheets offers a variety of customization options for your stacked bar chart. You can change the colors of the subgroups, add data labels, or even create a stacked 100% bar chart to show the percentage of each subgroup within each category.

Changing the Colors of the Subgroups

Create combination stacked / clustered charts in Excel
Create combination stacked / clustered charts in Excel
The Best Alternative to Stacked Bar Charts I've Ever Seen! (with Sebastine Amede & Darragh Murray)
The Best Alternative to Stacked Bar Charts I've Ever Seen! (with Sebastine Amede & Darragh Murray)
How to Add Error Bars in Google Sheets
How to Add Error Bars in Google Sheets
How to create progress bars in google sheets
How to create progress bars in google sheets
Bar Charts | AnyChart Gallery
Bar Charts | AnyChart Gallery
Tableau tip: How to sort stacked bars by multiple dimensions
Tableau tip: How to sort stacked bars by multiple dimensions
the google spreadsheet dashboard is shown in this screenshot
the google spreadsheet dashboard is shown in this screenshot
How to Make a Gauge Chart in Google Sheets
How to Make a Gauge Chart in Google Sheets
Stacked Bar Chart
Stacked Bar Chart
How to Create a 100% Stacked Bar Chart in Excel?
How to Create a 100% Stacked Bar Chart in Excel?
How to make a graph or chart in Google Sheets
How to make a graph or chart in Google Sheets
Bar Chart Hacks
Bar Chart Hacks
MS Excel 2016: How to Create a Bar Chart
MS Excel 2016: How to Create a Bar Chart
How to Create a Pie Chart in Google Sheets: A Simple Step-by-Step Guide (With Example)"
How to Create a Pie Chart in Google Sheets: A Simple Step-by-Step Guide (With Example)"
The Ultimate Google Sheets Keyboard Shortcut Cheat Sheet for Beginners & Pros
The Ultimate Google Sheets Keyboard Shortcut Cheat Sheet for Beginners & Pros
the most popular social media platforms
the most popular social media platforms
How To Create A Pivot Table In Google Sheets - A Step By Step Guide, Google Sheets
How To Create A Pivot Table In Google Sheets - A Step By Step Guide, Google Sheets
How to create and customize charts in Google Sheets (Quick version)
How to create and customize charts in Google Sheets (Quick version)
How To Make a Pie Chart in Google Sheets (Step-by-Step)
How To Make a Pie Chart in Google Sheets (Step-by-Step)
How to Create a Candlestick Chart in Google Sheets
How to Create a Candlestick Chart in Google Sheets

To change the colors of the subgroups, click on the chart to select it, then click on the three vertical dots that appear in the top-right corner. Select "Edit chart" from the menu that appears. In the "Chart editor", click on the "Customize" tab, then "Series", and finally "Fill". Here you can select a new color for each subgroup.

You can also use the "Series" option to change the order of the subgroups, which will change the order in which they are stacked in the chart.

Adding Data Labels

Data labels can be a helpful way to provide more information about each bar in your chart. To add data labels, click on the chart to select it, then click on the three vertical dots that appear in the top-right corner. Select "Edit chart" from the menu that appears. In the "Chart editor", click on the "Customize" tab, then "Series", and finally "Data labels". Here you can choose to display the value, percentage, or both for each bar.

You can also adjust the position of the data labels to ensure they don't overlap with other bars in the chart.

Creating a Stacked 100% Bar Chart

A stacked 100% bar chart shows the percentage of each subgroup within each category, rather than the absolute values. To create this type of chart, select the data you want to include, then click on "Insert" in the menu and select "Chart". In the "Chart editor", select the "Stacked 100% bar chart" option.

You can then customize the chart as you would a regular stacked bar chart, changing the colors of the subgroups, adding data labels, and adjusting the chart title and axis titles.

Creating a stacked bar chart in Google Sheets can be a powerful way to visualize and compare data. With a little bit of data preparation and customization, you can create a chart that effectively communicates your data story. So why not give it a try and see what insights you can uncover in your own data?