Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 13
Default Changing graph axes using named range

Hi,
I have a large table of data, each column is defined as a range. What
I would like to do is use the drop down list (using data validation)
where each option in the list is a named range, to change the graph's
x and y axes.
For example, if I were to select the named range for column C as my x
axis (using the drop down list) and column F as my Y axis, I would
like the graph to automatically plot this without going into the
=SERIES(<legend entry,<X Values,<Y Values,<PlotOrder)
formula and changing the named range manually. I have tried to
reference the cells in this formula where I have written the name of
the range's in them but it doesn't work. Can anybody help?
Thanks a lot!
Simon

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4,393
Default Changing graph axes using named range

Here is a start.I have:
1) text "X","Y","Z" in A1:C1 (no quotes,of course,anywhere)
2) In G1 the text "Y"
3) In D1 the formula =G1 (it shows "Y")
4) In A:C2 the numbers for x-values, y-values, z-values
5) I have named B2:B10 as Y and C2:C10 as Z
6) In D2 the formula =INDIRECT($G$2) and this is copied down the column
7) A chart with x-axis A2:A10 and y-axis D2:D10
The chart plots the Y values
When I type "Z" in G1 the chart plots the Z values
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

wrote in message
oups.com...
Hi,
I have a large table of data, each column is defined as a range. What
I would like to do is use the drop down list (using data validation)
where each option in the list is a named range, to change the graph's
x and y axes.
For example, if I were to select the named range for column C as my x
axis (using the drop down list) and column F as my Y axis, I would
like the graph to automatically plot this without going into the
=SERIES(<legend entry,<X Values,<Y Values,<PlotOrder)
formula and changing the named range manually. I have tried to
reference the cells in this formula where I have written the name of
the range's in them but it doesn't work. Can anybody help?
Thanks a lot!
Simon



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 13
Default Changing graph axes using named range

With a few adjustments that seems to do the trick thanks!
Is there a way of making the named ranges more dynamic? I know of the
counta formula so it goes to the end of the data when you add more,
the only problem for me being that my columns are filled with if
formulas that are taken into account using the counta formula. Is
there an alternative?
Thanks,
Simon

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
inserting a named range into new cells based on a named cell Peter S. Excel Discussion (Misc queries) 1 June 4th 06 03:53 AM
Automatically changing the range in a graph Bret Davis Charts and Charting in Excel 1 January 14th 06 07:13 PM
Blank cells in named range- how to ignore them when making my graph? Help plz! KR Excel Discussion (Misc queries) 0 August 24th 05 02:35 PM
Changing named range reference depending on a cell's content cparaske Excel Discussion (Misc queries) 1 July 29th 05 07:06 PM
Graph Axes Robin Excel Discussion (Misc queries) 0 December 8th 04 08:03 PM


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

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"