Excel clustered and stacked column chart

Download the Clustered Stacked Chart Workbook

Get the practice file from the video with the quarterly revenue data. Build the chart step by step, with the MAX helper series that keeps both axes in sync.

What Is a Clustered Stacked Column Chart in Excel?

Excel clustered column chart versus stacked column chart comparison

A clustered stacked column chart combines two standard chart types into one:

  • A clustered column chart places bars side by side to compare categories directly.
  • A stacked column chart layers values on top of each other to show how parts make up a whole.

Combined, you get a chart that compares totals across categories and shows the breakdown within each category — at the same time.

A typical use case: You want to show quarterly revenue by division (clustered) while also highlighting how much of that revenue came from new apps (stacked within each division bar).

For a standard column chart without the stacking trick, see our guide on how to make a graph in Excel which covers all chart types.

How to Set Up Your Source Data for a Clustered Stacked Chart

Excel source data table for clustered stacked column chart showing quarterly revenue by division

The data structure is the foundation of this chart. Get it wrong and the chart won’t combine correctly.

The example data shows Quarterly Revenue by Division — with three divisions (Productivity, Game, Utility) and a breakdown of how much revenue came from new apps within each.

Arrange your data in alternating pairs — one pair per division:

RowContent
Row 1Total revenue for Division 1 (per quarter)
Row 2New apps revenue for Division 1 (a subset of Row 1)
Row 3Total revenue for Division 2 (per quarter)
Row 4New apps revenue for Division 2 (a subset of Row 3)
…Repeat for each division

Each “sub-row” must be a portion of the total above it — not an independent value. This pairing is what allows Excel to stack the bars correctly in the next step.

Pro tip: This method uses both a primary and secondary Y-axis with matching Min and Max bounds. The bounds update dynamically as your data changes — no manual adjustments needed each quarter.

Completed clustered stacked combined column chart in Excel showing revenue by division with new apps breakdown

Step-by-Step: Building the Clustered and Stacked Combo Chart

Insert a Clustered Column Chart from Your Data Range

Let’s insert a Clustered Column Chart.

To do that we need to select the entire source Range (range A4:E10 in the example), including the Headings.

After that, Go To:  

INSERT tab on the ribbon > section Charts > Insert a Clustered Column Chart 

Excel ribbon Insert tab showing Clustered Column chart option selected
Select the entire source Range and Insert a new Clustered Column chart

Pro Tip: Since a Clustered Column chart is a default Excel chart type (at least until you set another chart type as a default type), you can select a source data range and press ALT + F1 keys on your keyboard. This combination allows you to insert a default chart object by pressing the hotkeys only. 

Switch Rows and Columns to Set Quarters on the X-Axis

If we take a look at the screenshot above, there is one thing that we may notice from the beginning: the Quarters are set as chart Series (that’s why they are shown inside the chart Legend) instead of the axis X as we need.

To fix this, let’s Select the Chart Area, right click and – in the Context Menu that appears – click on Select Data. 

Within this new dialogue window, we need to click on Switch Row/Column in the middle of the window.

Excel Select Data Source dialog with Switch Row Column button highlighted

Pro Tip: Once you right-click on the Chart Area you can confirm the command Select Data by pressing “E” on your keyboard (take a look at every single option in the context menu – as you may notice, each character is underlined in a command keyword – these are so-called “lazy shortcuts” that are widely used by Excel experts to speed-up the whole range of repetitive actions during a daily work).

In our case, pressing the “E” key confirms Select Data… command; pressing the “F” key would confirm Font… command and so on.

In addition, to the mentioned shortcuts, you can find some commands on the Excel Ribbon on the Chart Design and Format tabs that appear once we selected a Chart Area. 

Change to a Combo Chart and Enable the Secondary Axis

Once the Quarters and Revenue have been switched, we may notice that there are six series now related to every single row in the Revenue column (i.e. all values in column A, such as Productivity, P – new apps, Game etc.).

However, our aim is to stack every “new apps” column with the appropriate “total” column, i.e. we need to create a Stacked Column chart.

The first step to do that is to Select a Chart Area, right-click on it and Select Change Chart Type command in the context menu.

Once the Change Chart Type dialogue window appears, we need to select Combo chart type and for each series that has “- new apps” keyword in the name, we apply the Clustered Column chart type and check ON the secondary axis.

Excel Change Chart Type dialog showing Combo chart with secondary axis options

Pro Tip: After you right-click the Chart Area, press Y to open Change Chart Type. This is another lazy shortcut.

Once the initial chart has been created, it looks more like what we’re aiming for, however, there is still something wrong with it.

If we look closer, we may notice that the primary axis Y (on the left side of the Chart Area) and the secondary axis Y (on the right side of the Chart Area) are different, i.e. they use different numeric values for the Min and Max bounds.

We can change them manually if we make double-click on the Axis Y area (the appropriate Format Axis panel appears on the right side of the screen).

However, this is not an optimal approach because the source data may change next Quarter (or even Month), i.e. the Min and Max bounds may have values other than the current 2500 and 1200.

Moreover, we want this chart to be dynamic so that we don’t need to change the bounds manually each time the source data is changed.  

Excel chart showing unequal primary and secondary Y axes requiring adjustment

The primary and secondary Y axes are not equal right now.

Let’s fix that later. 

Calculate a Dynamic Max Value for Both Y-Axes

The way we can make this chart (or – to be accurate – its axes Y) dynamic is to use a little trick: we need to calculate a single value that matches a Maximum value for the entire source range.

We can make the cell containing this value invisible (e.g. hide it, make the value in the cell hidden and/or locked, or apply the related – white in this example – font color), but it will still be used as a reference value which both Y axes can use as their Max bound.

Let’s try that then…

We’ll start by naming the next cell after cell Q4 (cell F4 in the screenshot)  as “Inv. Value” and put the following formula in the cell under this one (cell F5 in the screenshot): 

=MAX(B5:E10)
Excel MAX formula calculating maximum value for chart axis bounds
Calculating the Max value that’s used as a Max bound for both Y axes

Add the Max Value as a New Chart Series

How do we push this Max value to be used as a Max value for the secondary Y Axis?

Well, we use another small trick in Excel.

The secret is in the fact that we need to add this value as a new Series in the chart and check ON the secondary axis for this Series later.

So, let’s Select the Chart Area, right-click on it, click on the Select Data command and then click on Add on the left side of the dialogue window that appears.  

Excel Select Data Source dialog with Add button to insert new series

In the next dialogue window, let’s set cell F4 as a name for the Series, and cell F5 as a data range for the new Series.

Click OK.

Excel Edit Series dialog box adding invisible value series for axis alignment

⚠️ Technical Note: Axis Alignment Trick

This technique uses a helper series — a single data point based on the MAX formula in cell F5. Adding it to the chart forces the secondary Y-axis to use the same scale as the primary axis, automatically.

Important: If your secondary values are larger than your primary values, add the helper series twice — once assigned to the primary axis and once to the secondary axis. This ensures both axes stay in sync regardless of which dataset is larger.

Pro Tip: Do not delete the “Inv. Value” data from your sheet. To keep things tidy, hide the column or set the font color to white. The formula still runs in the background and keeps your axes aligned as your data updates.

Convert the Helper Series to a Line Chart on the Secondary Axis

As you may notice, the chart has changed – it seems like the chart is shifted in the wrong direction from what we need.

Once we click OK in the Select Data Source dialogue window during the previous step, Excel inserts the additional series (and the additional column for this series).

That’s why our other columns have been shifted too.

To fix that, we need to convert this new Series to some other chart type (such as a Line chart).

Let’s select the Chart Area, right-click on it and select the Change Chart Type command again.

In the dialogue window that appears, we need to find a new Series in the list and apply another chart type (for example a Line chart) to it.

In addition, make sure to check ON the appropriate “Secondary Axis” checkbox for this Series. 

Excel Change Chart Type converting invisible series to line chart with secondary axis

NOTE: Keep in mind that we need to be sure that the “Secondary Axis” checkbox is flagged as ON for this series. Otherwise, the trick we’re attempting here won’t work properly. 

In the case, if the secondary values inside a source data range are bigger than the primary values, we need to perform this trick twice – once for the secondary axis and once for the primary axis.

In other words, we are creating two new series, which are both based on the same Max value.

While we convert them to another type chart, we check ON “Secondary Axis” checkbox for one series, and check OFF the same checkbox for another series.

It will be related to the primary axis in this case.

Clean Up the Legend and Apply Color Formatting

Let’s make some visual improvements to the chart. 

First, we can move the Legend to the top.

To do that, Select the Legend Area, make double-click it and select Top legend position in the Format Legend panel that appears in the right side of the screen.

Also, we can delete the extra entry in the Legend (“Inv. Value” element in our example) as no one needs to see it.

Just select that value(s) and press the DELETE key on your keyboard.

Excel Format Legend panel showing Top position selected and extra legend entries deleted

Also, we recommend deleting all the entries for the secondary elements (“new apps” elements in the example) because fewer legend entries make the chart easier to read.

We can apply another color (from a similar color palette) for every secondary chart series to make them visually and logically closer to the related primary series – see the screenshot below.

Excel combination chart with improved color palette for stacked columns

For conditional coloring inside bar charts (like highlighting the highest value automatically), see our guide on conditional bar charts in Excel.

Add and Position Data Labels Inside the Columns

Now it’s time to add the data labels.

Let’s select every single primary column one by one, right-click on it and select Add Data Labels > Add Data Labels in the context menu.

Repeat for all secondary columns.

Excel chart right-click menu showing Add Data Labels option

Pro tip: Feel free to play a little with the Series Overlap and Gap Width properties for the primary and secondary columns to enlarge/reduce the clearance between the two nearest columns and to make all values be located inside the columns.

Make sure that you apply the same changes for both primary and secondary columns to prevent the column shifting for one category only.

In our example, we used the following parameters – Gap Width: 70% and Series Overlap: -10% for both categories. 

In addition, let’s delete both primary and secondary Y axes from the Chart Area.

Don’t worry! We are deleting only their visualization on the Chart Area, so all bounds and calculations will be untouched.

We can delete the gridlines too. 

Finally, let’s move the position of the data labels to “Inside Base” for all the secondary columns to improve the overall readability.

To do that, select the data values for all three secondary columns one by one (i.e. we need to repeat this action three times), double-click on any data label, go to Label Options on the Format Data Labels panel that appears, and set the position as Inside Base.

Also, we can embolden the primary Data labels and the X Axis titles.

Just select the appropriate element and click on the Bold button on the HOME tab of the Ribbon (or press the CTRL + B hotkey on the keyboard).

Excel Format Data Labels panel with Inside Base position selected for stacked columns

NOTE: Don’t forget to move the data labels for all secondary Series (P – new apps, G – new apps, U- new apps) as each of them is considered as a separate Chart Series object, i.e. they all have a different Data Labels array. 

Add a Dynamic Chart Title Linked to a Cell

Let’s add the chart title.

Just select the Chart Title area and type the title of your chart.  

Excel chart with dynamic title linked to cell using formula bar

Pro tip: We can make the Chart Title dynamic and linked to a specific cell.

In this case, every time we want to change or edit the chart title, the only thing we need to do is to update the related cell value.

To do that, select the Chart Title area and click inside the formula bar (the section where we usually enter a formula in the cell).

Type the following formula:  

= cellAddress

where  “cellAddress” is the name of the cell with the chart title value (this is cell A3 in our example).

Just type the equal sign (“=”) and click on the cell with the chart title value. 

Don’t be confused by the screenshot above – typically a cell address may include a Worksheet’s name where this cell is located.

The full reference includes the sheet name, for example =Data!A3, or ='Sales Data'!A3 when the sheet name has spaces.

In addition, let’s add the additional text box inside the Chart Area that will show a text definition for the secondary Data Labels.

To do that, let’s select the Chart Area, then Go To:   

INSERT tab on the Excel Ribbon > Text Section > Text Box 

(alternatively: Insert > Illustrations > Shapes > Text Box)

Excel Insert tab showing Text Box option to add annotations to chart

Once the TextBox has been inserted, let’s type “New Apps” and format it.

We don’t need it to be dynamic, as “New Apps” definition is common for all “New Apps” columns. 

Pro tip: Because we activated the Chart Area before the TextBox was inserted, it’s linked to this Chart object, so we don’t need to group them.

They are locked together, and the TextBox will be moved or edited in parallel with the chart.

Otherwise, both objects would be existing separately from each other and if we were to move or edit the Chart object, the TextBox object would be kept untouched. 

If you need to show changes over time, see our guide on How to Create a Professional Timeline in Excel.

Download the Free Practice File

Get the Practice Workbook

The revenue data and the finished chart from the video.

Want to master professional chart design including clustered stacked, waterfall, and dynamic charts? Our Business Charts in Excel course covers all of these techniques.

Featured Course

Business Charts in Excel

Create professional Excel charts that tell a story AND update automatically. Learn the formulas and design techniques that get your reports noticed.
Learn More

Frequently Asked Questions

Can you make a clustered stacked column chart in Excel?

Not as a built-in chart type. You build it with a Combo chart: the totals stay on the primary axis and the sub-categories go on the secondary axis as clustered columns, so each part sits in front of its total.

How do I align the primary and secondary axis in Excel?

Add a helper series with the MAX of your data, plot it as a line on the secondary axis and hide it. Both axes then use the same maximum and update when the data changes. You can also set the same Minimum and Maximum bounds by hand in Format Axis, but those will not update.

Why did my columns shift after I added a new series?

Every new column series takes its own slot in each category. Change the helper series to a line chart in Change Chart Type, and the columns move back into place.

How should I structure the data for a clustered stacked chart?

Put each total row directly above its sub-category row, with the categories such as quarters in the columns. Each sub-category value must be part of the total above it, not a separate value.

Does the chart update when the data changes?

Yes. The MAX helper cell recalculates, so both axes keep the same scale. Keep the helper cell on the sheet. Hide it or give it a white font color, but do not delete it.

Why are the sub-category columns not inside the total columns?

The two axes need the same column settings. Use the same Gap Width and Series Overlap for the primary and the secondary series, for example a Gap Width of 70 percent and an overlap of minus 10 percent.

Leila Gharani

Founder of XelPlus and ten-time Microsoft MVP. Leila helps over 500,000 professionals master Excel, Power BI, and data automation through practical, real-world training.