Adding Totals Data Labels to an Excel 2007 Stacked Bar Chart Robert Rosen
Feb 22, 2016
Adding Totals Data Labels to an Excel 2007 Stacked Bar Chart
Robert Rosen
• In an Excel 2007 stacked bar graph, you can use the <add data labels> feature to show the numeric values of each component in the stack, like this…
Labor Utilities Depreciation Other 0
10
20
30
40
50
60
70
80
90
100
40.5
20.711.7
34.9
45.6
35.5
13.8
38.820132012
• …but what if you want to show the total value of the entire stack, like this? Excel doesn’t have a “show totals” option
• Answer: use a Trick!Labor Utilities Depreciation Other
0
10
20
30
40
50
60
70
80
90
100
40.5
20.711.7
34.9
45.6
35.5
13.8
38.820132012
86.1
56.2
25.5
73.7
Step 1: Add Data Labels
Click on the border of the chart to select it, then Chart ToolsLayoutData Labels (in this example, we select “Center”)
Dots show when chart is selected
Step 1 (contd.)
Labor Utilities Depreciation Other 0
10
20
30
40
50
60
70
80
90
100
40.5
20.7
11.7
34.9
45.6
35.5
13.8
38.8
20132012
Step 2: Add a totals column to the source data (if not already existant)
Step 3: Add a new data series to the chart for the totals
Right-click in the chart to bring up this menu, then click “Select Data”
Step 3 (contd)
Step 3 (contd)
Step 3 (contd.)
Labor Utilities Depreciation Other 0
20
40
60
80
100
120
140
160
180
200
40.5
20.711.7
34.9
45.6
35.5
13.8
38.8
86.1
56.2
25.5
73.7Total20132012
Step 4: Change the totals series to a line graph
Select the Total series and right-click to bring up this menu, then click “Change Series Chart Type”
Step 4 (contd.)Select a Line graph
Step 4 (contd.)
Labor Utilities Depreciation Other 0
10
20
30
40
50
60
70
80
90
100
40.5
20.7
11.7
34.9
45.6
35.5
13.8
38.8
86.1
56.2
25.5
73.7
20132012Total
Step 5: Move the labels to above the series
Select a label and right-click to bring up this menu, then “Format Data Labels”
Step 5 (contd.)
Select “Label Options”, then for Label Position, “Above”
Step 6: Hide the lineSelect the line and right-click to bring up this menu, then “Format Data Series”
Step 6 (contd)
Select “Line Color”, then “No line”
Step 6 (contd)
Labor Utilities Depreciation Other 0
10
20
30
40
50
60
70
80
90
100
40.5
20.711.7
34.9
45.6
35.5
13.8
38.8
86.1
56.2
25.5
73.7
20132012Total
Step 7: Delete the legend entrySelect the Totals legend text and right-click to bring up this menu, then “Delete”
Step 8: Congratulate yourself on your success!
Labor Utilities Depreciation Other 0
10
20
30
40
50
60
70
80
90
100
40.5
20.7
11.7
34.9
45.6
35.5
13.8
38.8
86.1
56.2
25.5
73.7
20132012