Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Don
 
Posts: n/a
Default How do I use a Defined Name range for a value series in a chart?

I would like to create a Defined Name range to use as a the value for a
series in a chart.

Example: Cell B2 equals January Sales; Cell C2 equals February sales; and
cell D2 equals March sales. So, B2:D2 equals sales for Jan, Feb, and Mar. I
can name that range of cells (B2:D2) "Sales".

I would like to have a series in a chart named "Sales". Now, for the Values
of that series, I could put B2:D2. However, I would like to put the Defined
Name "Sales" instead. That way, if I have 5 different charts that graph
monthly sales (B2:D2), to add April sales to the charts, I don't have to go
to each chart and update the Values range to be B2:E2, I could just update my
Defined Name of "Sales" to now be B2:E2, and all of the charts should update
automatically.


  #2   Report Post  
Jon Peltier
 
Posts: n/a
Default

In the Series tab of the Source Data dialog, click on the series, and
change =Sheet1!$B$2:$D$2 to =Sheet1!Sales. Alternatively, select the
series, and in the formula bar, change

=SERIES(Sheet1!$A$2,Sheet1!$B$1:$D$1,Sheet1!$B$2:$ D$2,1)

to

=SERIES(Sheet1!$A$2,Sheet1!$B$1:$D$1,Sheet1!Sales, 1)

Read more about dynamic charts:

http://peltiertech.com/Excel/Charts/Dynamics.html

and about the series formula:

http://peltiertech.com/Excel/ChartsH...esFormula.html

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


Don wrote:

I would like to create a Defined Name range to use as a the value for a
series in a chart.

Example: Cell B2 equals January Sales; Cell C2 equals February sales; and
cell D2 equals March sales. So, B2:D2 equals sales for Jan, Feb, and Mar. I
can name that range of cells (B2:D2) "Sales".

I would like to have a series in a chart named "Sales". Now, for the Values
of that series, I could put B2:D2. However, I would like to put the Defined
Name "Sales" instead. That way, if I have 5 different charts that graph
monthly sales (B2:D2), to add April sales to the charts, I don't have to go
to each chart and update the Values range to be B2:E2, I could just update my
Defined Name of "Sales" to now be B2:E2, and all of the charts should update
automatically.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
can a formula check for a certain value in a range? Lee IT Excel Discussion (Misc queries) 1 April 7th 05 04:31 PM
Define a range based on another named range Basil Excel Worksheet Functions 2 February 21st 05 01:47 PM
Defined range using more than one column Pat Excel Discussion (Misc queries) 5 January 18th 05 02:33 PM
Defined range problem Pat Excel Discussion (Misc queries) 8 January 17th 05 11:25 AM
Defined range difficulty Pat Excel Discussion (Misc queries) 7 January 16th 05 09:52 PM


All times are GMT +1. The time now is 12:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"