Table of Contents
Adding comprehensive total values to a Stacked Bar Chart in Excel is a powerful technique for improving data visualization clarity. While Excel offers several ways to display labels, the most robust method for showing the aggregate total above each stacked bar involves creating a temporary line series (a Combo Chart) dedicated solely to displaying those totals. This approach ensures precision and flexibility in label positioning, making the final visualization highly readable.
This tutorial outlines a precise, step-by-step methodology using the combined chart type approach. By the end of this guide, you will be able to transform a standard stacked bar visualization into an insightful display that features clean, visible total values positioned optimally above the corresponding columns. This method is particularly useful when analyzing contributions to an overall metric across various time periods or categories.
As mentioned, adding total values significantly improves data interpretation, especially when dealing with cumulative metrics across different categories or time periods. This specialized technique ensures that your audience focuses not only on the compositional breakdown but also on the definitive aggregate outcome.
We will walk through a detailed, step-by-step process to generate a professional-grade visualization, resulting in the final chart displayed below, featuring accurate total values positioned neatly atop each stacked bar:

Let’s begin the process by preparing our raw data in Excel.
Step 1: Structuring the Initial Dataset
The foundation of any effective visualization in Excel is a properly structured dataset. For a Stacked Bar Chart, your data typically needs to be arranged with one column dedicated to the categories (e.g., Months) and subsequent columns dedicated to the individual components that make up the stack (e.g., Product Sales). This arrangement is crucial for Excel to correctly interpret the stacking order during chart generation.
For this tutorial, we will use a sample scenario tracking the monthly sales performance of three distinct products (Product A, Product B, and Product C). Organize your data into columns similar to the structure shown below, ensuring clear headers for all series. These headers will serve as the labels for the chart legend and are essential for mapping the data series correctly.

Ensure that your data is continuous and contains no empty rows or columns within the primary range, as this can confuse Excel’s automatic chart selection features. While we currently have four main columns (Month, Product A, Product B, Product C), we need to introduce an additional column specifically designed to hold the aggregate totals. This dedicated column is the key element that allows us to place total labels above the stacked bars without altering the appearance of the underlying compositional data series.
Step 2: Generating the Aggregate Total Series
Before visualizing the data, we must calculate the aggregate sum for each row. This calculation will form a separate Data Series used exclusively for label placement. Create a new column adjacent to your product sales data—we will label this column “Total” (in column E in our example). This total column must be included in your primary data selection range for chart creation.
In the first data row of the “Total” column (cell E2), input the standard SUM formula to capture the combined sales of Product A, B, and C for January. The formula should reference the cells containing the monthly sales figures for the components you wish to sum.
Use the following formula structure, adjusted for the appropriate range of your component columns (e.g., B2:D2 if products are in B, C, and D, and the total is in E):
=SUM(B2:E2)
Once the formula is entered in the first cell (E2), apply this calculation down the entire column by copying and pasting it or by dragging the fill handle. This step ensures that every month has a corresponding aggregate value. This total series, though numerically identical to the final height of the stacked bars, will be isolated and represented graphically as a line in the next steps. The resulting data table should now include five primary columns ready for visualization:

Step 3: Generating the Initial Stacked Column Visualization
With the data prepared, including the new ‘Total’ column, we can now initiate the chart creation process. Select the entire data range, including the headers and the newly calculated totals (A1:E13 in our example). Navigating to the Insert tab on the Excel ribbon is the starting point for adding any graphical element.
From the Charts group, select the option for a Stacked Column chart (the first 2-D Stacked Column option). Although we are aiming for a stacked bar chart with vertical orientation, this initial column chart setup is necessary because the Combo Chart function works most intuitively when all elements are first plotted as columns. Excel automatically interprets the Product A, B, C, and Total columns as four separate data series to be stacked.
Upon selection, Excel will render the initial visualization. You will notice that the “Total” series, which we just calculated, appears as an extra, identical segment stacked on top of Product C. This is expected behavior, but we will soon isolate this series and convert it to a different chart type to serve only as a label anchor. The resulting visual should appear similar to the following, showing four stacked segments per category:

Step 4: Isolating the Total Series using a Combo Chart
To correctly position the totals, we need to convert the redundant ‘Total’ data series from a stacked column segment into a floating element, specifically a line chart. This conversion is achieved through the Change Chart Type dialogue box, which allows us to customize the chart type for each individual Data Series. Right-click anywhere on the chart border or background and select Change Chart Type.
This action opens a configuration window where you can access the powerful customization options. Select the Combo category on the left side of the window. The Combo Chart option provides granular control over how each series is plotted, allowing us to combine stacked columns and lines seamlessly within the same graphical space.

Within the Combo Chart customization panel, ensure the following configurations are set for your four series:
- Product A, B, C: Chart Type must remain Stacked Column.
- Total: Change the Chart Type to Line.
Crucially, ensure that the Secondary Axis box is not checked for any series. All data must share the same primary axis scale to guarantee that the total line series aligns perfectly with the top edge of the stacked columns. Click OK to apply these changes.

The chart will now display the product sales as standard stacked columns, while the total values are represented by a distinct line running directly along the top edge of the stacked bars. This line serves as the perfect, invisible anchor point for our final total labels.

Step 5: Applying and Refining Data Labels for Totals
The core objective of this process is met by attaching Data Labels specifically to the line series we created in the previous step. Click once on the line connecting the total points (the yellow line in the examples). Right-click on the selected line and choose the option Add Data Labels from the context menu.
Initial placement of the labels might place them directly on the line or slightly below, potentially obscuring the underlying visualization. The chart should now look like this, displaying the calculated total values:

To achieve the desired clean look where the total value sits clearly above the bar, we need to adjust the label positioning. Double-click on any of the newly added total labels to open the Format Data Labels task pane on the right side of your screen. Navigate to the Label Options section (the bar chart icon within the pane).
Under the Label Position settings, change the default setting to Above. This crucial adjustment moves the label vertically, lifting the total value away from the line series and placing it just over the maximum height of the corresponding stacked column.

Step 6: Finalizing the Presentation by Concealing the Line
The line series has successfully served its purpose as an anchor for the total labels, but maintaining a visible line in this context is often visually distracting and unnecessary for the final presentation. Our next step is to remove the line itself while ensuring the attached data labels remain visible and correctly positioned.
Double-click on the line series (the yellow line in the examples) to open the Format Data Series task pane. Navigate to the Fill & Line section (the paint bucket icon). This section controls the visual properties of the selected series, including the line type and color.
Under the Line options, select No line. It is also a best practice to check the Marker options (if markers were automatically included) and ensure they are also set to No fill and No line to hide any residual visual elements from the line series, guaranteeing a completely clean presentation.

Upon confirming these changes, the connecting line vanishes, leaving behind only the perfectly positioned total values hovering above the stacked columns. This results in a clean, highly informative visualization where the totals are clearly legible without any visual clutter, allowing the audience to immediately identify the cumulative figures.

Step 7: Enhancing Aesthetics and Professionalism (Optional)
Although the core objective of adding the total values is complete, taking extra time to refine the chart’s aesthetics significantly elevates its professional appeal and readability. Effective customization ensures the focus remains on the data story rather than distracting visual elements.
Consider the following optional refinements to optimize the chart’s impact:
- Chart Title: Always provide a descriptive title that clearly communicates what the chart represents (e.g., “Monthly Aggregate Sales Performance”). Avoid generic titles like “Chart 1.”
- Color Customization: Adjust the colors of the stacked bars to align with corporate branding or to maximize contrast. Use muted colors for secondary series and ensure the contrast against the background is sufficient.
- Label Formatting: Adjust the font size, color, and number format of the total labels. If the numbers represent financial data, use currency formatting; if they are percentages, ensure the percentage sign is present. This clarity is vital for interpretation.
- Gap Width and Overlap: To make the columns more visually substantial, reduce the Gap Width setting found under the Format Data Series > Series Options for one of the column series. A smaller gap width emphasizes the continuity of the data.
By applying these finishing touches, you achieve the final, polished result that effectively communicates both the component breakdown and the crucial aggregate totals:

Summary of the Combo Chart Technique
The methodology detailed above—leveraging the Change Chart Type functionality to create a Combo Chart—is the most reliable way to integrate floating total labels into a standard stacked column chart. This approach bypasses the limitations of standard data labels, which typically only show the value of the topmost segment, not the sum of all segments.
Key takeaways regarding this effective method include:
- A separate Total column is mandatory for the calculation and plotting of the aggregate values.
- The Total series must be converted to a Line Chart type (or Scatter plot for extreme precision) while sharing the primary axis with the stacked columns.
- The line series is merely a structural anchor and must be visually removed (set to No line and No marker) once the data labels are properly positioned Above the anchor point.
Mastering this technique ensures that your visualizations in Excel are not only visually appealing but also statistically accurate and immediately informative for any comprehensive data analysis requirement.
Cite this article
stats writer (2025). How to Easily Display Total Values on Excel Stacked Bar Charts. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-to-add-total-values-to-stacked-bar-chart-in-excel/
stats writer. "How to Easily Display Total Values on Excel Stacked Bar Charts." PSYCHOLOGICAL SCALES, 29 Nov. 2025, https://scales.arabpsychology.com/stats/how-to-add-total-values-to-stacked-bar-chart-in-excel/.
stats writer. "How to Easily Display Total Values on Excel Stacked Bar Charts." PSYCHOLOGICAL SCALES, 2025. https://scales.arabpsychology.com/stats/how-to-add-total-values-to-stacked-bar-chart-in-excel/.
stats writer (2025) 'How to Easily Display Total Values on Excel Stacked Bar Charts', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-to-add-total-values-to-stacked-bar-chart-in-excel/.
[1] stats writer, "How to Easily Display Total Values on Excel Stacked Bar Charts," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, November, 2025.
stats writer. How to Easily Display Total Values on Excel Stacked Bar Charts. PSYCHOLOGICAL SCALES. 2025;vol(issue):pages.
