How to Add the Grand Total to a Bar Chart in Excel – Easy Steps

The sample dataset showcases 4 different products and their sales in 3 quarters.

add grand total to bar chart excel


STEP 1 – Insert a Spacing and a Grand Total Column

  • Insert 2 extra columns.
  • In the first column (Spacing), enter 10,000 for every product.

Input Spacing and Grand Total Columns to Dataset

In the Grand Total column, add the sales to find the total:

  • Select G5.
  • Enter the formula:
=SUM(C5:E5)
  • Press Enter.
  • Use AutoFill to see the sales summation of other products.


STEP 2 – Insert a Bar Chart in Excel

  • Select B4:F8.

Insert Bar Chart in Excel

  • Go to Insert ➤ Insert Column or Bar Chart ➤ 2-D Stacked Bar Chart.

insert 2-D bar chart

  • The bar chart will be displayed.
  • Click the chart.
  • Select Chart Design ➤ Switch Row/Column.

This is the output.

Read More: How to Change Bar Chart Color Based on Category in Excel


STEP 3 – Modify the Bar Chart to Add the Grand Total

  • Right-click Quarter 1.
  • Select Add Data Labels.
  • Repeat the steps for the other parts of the chart.

Modify Bar Chart to Add Grand Total

Data labels will be displayed.

  • Right-click Spacing (10,000).
  • Select Format Data Labels.

  • In the Format Data Labels pane, choose Inside Base in Label Position.
  • Check Value From Cells in Label Options.

  • In the dialog box, choose the Grand Total range in Select Data Label Range.

choose grand total range

  • Click OK.

This is the output.

  • Right-click Spacing.
  • Choose No Fill in Fill.

  • Delete the y-axis lines.
  • Delete the Spacing legend.

Read More: How to Color Bar Chart by Category in Excel


STEP 4 – Change Spacing Column Values

  • Enter 0 for every product in the Spacing column.

Change Spacing Column Values

Read More: Excel Add Line to Bar Chart


Final Output

  • Choose a format for the Grand Total data labels.

This is the final output.

Final Output


Download Practice Workbook

Download the workbook to practice.


Related Articles


<< Go Back to Excel Bar ChartExcel Charts | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Aung Shine
Aung Shine

Aung Shine completed his bachelor’s in Electrical and Electronics Engineering from Bangladesh University of Engineering and Technology. It has been almost 2 years since he joined SOFTEKO and actively working on the ExcelDemy project. Currently he works as a Team Leader where he guides his team members to create technical content. He has published 150+ articles and reviewed 50+ articles. He has also solved various user problems before. He has interests in Data Analysis, Power Query, Advanced Excel,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo