Chart totals

tstevens

New Member
Joined
Sep 1, 2006
Messages
29
I'm using a stacked colomn chart and I want to add a data label that has the total of all the data series'.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi tstevens

Maybe you are looking for an automatic solution, but a manual solution is to use a cell in the worksheet to sum all the data series and then use a data label in the chart reflecting the cell's value.

Hope this helps
PGC
 
Upvote 0
I do have a field with the totals but I'm not sure how to create data lable without it graghing the total in the chart.
 
Upvote 0
For the series at the top add 'data labels.' Automate the process with XY Chartlabeler from www.appspro.com

I do have a field with the totals but I'm not sure how to create data lable without it graghing the total in the chart.
 
Upvote 0
Hi tstevens

It's easy to create the label in the chart.

Let's say we want to use Cell K1,

Write in K1 what you want to display in the chart, ex:

="Totals Series 1: " & SUM(E4:E8) &CHAR(10)&"Totals Series 2: " & SUM(F4:F8)

this will display something like

Code:
Total series1: 34
Total series2: 55

Now select the chart. In the formula bar write "=". Click on the cell K1. Press enter.

You'll see the label in the chart. Now you can change it's backgriund colour, font, etc.

The label is linked to K1, if you change values in the data range of the chart, K1 changes and the chart label follows.

Remark: notice that I said click on K1 and not write K1, if you prefer to write, specify the sheet (ex: Sheet1!K1).

Hope this helps
PGC
 
Upvote 0

Forum statistics

Threads
1,214,375
Messages
6,119,167
Members
448,870
Latest member
max_pedreira

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top