graph totals

G

Guest

How do I display totals within the graph data table without those figures
showing up in the graph
 
D

Debra Dalgleish

The data table won't display totals. However, you could show the totals
with the X axis label:

In the data source table, insert a row between the X Axis labels, and
the first row of data.
In the cell below the first label, enter a formula that refers to the
cell with the label, and the cell with the total, e.g.:

=B1 & CHAR(10) & B8

Copy this formula across to the last column of data.

Select the chart
Choose Chart>Source Data
On the Series tab, for Category (X) axis labels, select the cells that
contain the above formula
Click OK
 
J

Jon Peltier

Well, a series can be added plotting the totals. Then the series can be
formatted to be hidden (no lines, no markers, no border or fill or
whatever. The numbers will still appear in the data table.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______
 
D

Debra Dalgleish

True, and with your technique you'd probably want to reset the maximum
for the y-axis too.
 
J

Jon Peltier

That depends. If the main chart is stacked column, I'd make the total
series a line series before I hid it. If they're all lines then the Y
max would be overstated by the totals (unless the hidden series were
also plotted on the secondary axis, and this axis were hidden).

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top