PC Review


Reply
Thread Tools Rate Thread

Data labels on a stacked chart

 
 
=?Utf-8?B?d2hvdXNlcg==?=
Guest
Posts: n/a
 
      11th May 2005
I have a simple stacked bar chart, but i would like to display the total for
the two items stacked for each bar. For example, hearth is $100 and is
stacked over Indoor with a value of $200. I can display the data label of
each, but would like to display $300 instead.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9obiBNYW5zZmllbGQ=?=
Guest
Posts: n/a
 
      11th May 2005
whouser,

There are several ways that you can do this. One way is to create a
secondary reference that consists of the data labels. For example, assume
you have this data for your stacked bar chart.

Series1 Series2
a 100 200
b 150 250
c 125 100

Set up an additional reference that adds the data for the two series together.

Series1 Series2 Labels
a 100 200 300
b 150 250 400
c 125 100 225

Then use a data labeling tool or macro to connect a reference from Series2
to Labels. You can find a list of where to get those tools here:

http://www.pdbook.com/index.php/exce...t_data_labels/

--
Regards,
John Mansfield
http://www.pdbook.com


"whouser" wrote:

> I have a simple stacked bar chart, but i would like to display the total for
> the two items stacked for each bar. For example, hearth is $100 and is
> stacked over Indoor with a value of $200. I can display the data label of
> each, but would like to display $300 instead.

 
Reply With Quote
 
Andy Pope
Guest
Posts: n/a
 
      11th May 2005
Hi,

Here is a way using the data labels of an extra data series.
http://www.andypope.info/charts/StackColTotal.htm

Cheers
Andy

whouser wrote:
> I have a simple stacked bar chart, but i would like to display the total for
> the two items stacked for each bar. For example, hearth is $100 and is
> stacked over Indoor with a value of $200. I can display the data label of
> each, but would like to display $300 instead.


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
 
Reply With Quote
 
=?Utf-8?B?d2hvdXNlcg==?=
Guest
Posts: n/a
 
      11th May 2005
Thanks, guys. This works great. I appreciate both your answers.

"Andy Pope" wrote:

> Hi,
>
> Here is a way using the data labels of an extra data series.
> http://www.andypope.info/charts/StackColTotal.htm
>
> Cheers
> Andy
>
> whouser wrote:
> > I have a simple stacked bar chart, but i would like to display the total for
> > the two items stacked for each bar. For example, hearth is $100 and is
> > stacked over Indoor with a value of $200. I can display the data label of
> > each, but would like to display $300 instead.

>
> --
>
> Andy Pope, Microsoft MVP - Excel
> http://www.andypope.info
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cumulative Data Labels on Stacked Bar/Column Chart BlueWolverine Microsoft Excel Charting 1 1st Apr 2010 01:52 PM
Change All Data Labels in Excel 2007 Stacked Bar Chart KMH Microsoft Excel Charting 1 30th Jan 2010 11:42 PM
Data labels for stacked bar chart Ron H. Microsoft Excel Misc 1 28th Jan 2008 04:24 PM
Stacked Bar Chart - Data Labels:Percentage - Excel 2003 seven_percent Microsoft Excel Charting 0 17th Nov 2006 02:16 PM
How do I get total value data labels in a stacked bar chart? =?Utf-8?B?YmxlbWVyc29u?= Microsoft Excel Charting 2 15th Sep 2006 07:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:34 AM.