Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Guackyxxx
 
Posts: n/a
Default Formulas in chart series references

Does anyone know if it possible to have formulas embedded in the SERIES
formula that defines a chart series. For example, what I'd like to have is

=SERIES(Sheet1!$C$18,Sheet1!$D$16:$F$16,INDIRECT(D 12),1)

where D12 is a valid text range.

This does not seem to work. Essentially, I am trying to set up the chart so
I can toggle what is charted without needing to alter the chart references OR
set up a separate set of cells that are charted and that in turn refer to the
(changing) data set I want to chart.

Any thoughts are welcome!
  #2   Report Post  
Jon Peltier
 
Posts: n/a
Default

You can't embed any formulas into the SERIES formula. What you can do is
define a named range (sometimes called a named formula) in the
worksheet, then refer to this named range in the series formula.

For instance, you could set up a named range for your example like this:

Go to Define Names dialog: Insert menu, Names item, Define (or use the
Ctrl+F3 shortcut). Enter a name, like RangeY, and a formula in Refers
To, like =INDIRECT(D12) or =INDIRECT($D$12).

Now edit your series formula:

=SERIES(Sheet1!$C$18,Sheet1!$D$16:$F$16,Sheet1!Ran geY,1)

There is a wealth of information on the internet about these dynamic
charts. I have some examples and some links on my web site:

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

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


Guackyxxx wrote:

Does anyone know if it possible to have formulas embedded in the SERIES
formula that defines a chart series. For example, what I'd like to have is

=SERIES(Sheet1!$C$18,Sheet1!$D$16:$F$16,INDIRECT(D 12),1)

where D12 is a valid text range.

This does not seem to work. Essentially, I am trying to set up the chart so
I can toggle what is charted without needing to alter the chart references OR
set up a separate set of cells that are charted and that in turn refer to the
(changing) data set I want to chart.

Any thoughts are welcome!

  #3   Report Post  
Guackyxxx
 
Posts: n/a
Default

Thanks, Jon, I knew you'd come through for me (as always!)

"Jon Peltier" wrote:

You can't embed any formulas into the SERIES formula. What you can do is
define a named range (sometimes called a named formula) in the
worksheet, then refer to this named range in the series formula.

For instance, you could set up a named range for your example like this:

Go to Define Names dialog: Insert menu, Names item, Define (or use the
Ctrl+F3 shortcut). Enter a name, like RangeY, and a formula in Refers
To, like =INDIRECT(D12) or =INDIRECT($D$12).

Now edit your series formula:

=SERIES(Sheet1!$C$18,Sheet1!$D$16:$F$16,Sheet1!Ran geY,1)

There is a wealth of information on the internet about these dynamic
charts. I have some examples and some links on my web site:

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

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


Guackyxxx wrote:

Does anyone know if it possible to have formulas embedded in the SERIES
formula that defines a chart series. For example, what I'd like to have is

=SERIES(Sheet1!$C$18,Sheet1!$D$16:$F$16,INDIRECT(D 12),1)

where D12 is a valid text range.

This does not seem to work. Essentially, I am trying to set up the chart so
I can toggle what is charted without needing to alter the chart references OR
set up a separate set of cells that are charted and that in turn refer to the
(changing) data set I want to chart.

Any thoughts are welcome!


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
How can I display multiple series in a pie chart? AncientPC Charts and Charting in Excel 3 May 3rd 23 05:09 PM
How to change Series order in a Combination Chart? vrk1 Charts and Charting in Excel 3 April 1st 05 07:21 AM
How to change Series Order in a Combination Chart? vrk1 Excel Discussion (Misc queries) 0 March 31st 05 11:19 PM
Dynamic series in Chart Jeff Charts and Charting in Excel 2 February 24th 05 11:54 AM
Help! I'm losing one series of data in an overlay chart. Charts are Us Charts and Charting in Excel 1 January 4th 05 05:57 PM


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

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

About Us

"It's about Microsoft Excel"