Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ArthurJ
 
Posts: n/a
Default Dynamic Series Name

I have a table that is set up using "Data-Filter-AutoFilter" so that the user
can click a drop down arrow in the header for column 1 (the x-values), select
a value, and the table displays only those records.

A chart is connected to the table.

In the chart I want the series name to be the user's choice of the dropdown
value. For example, say the x-value choices are "apples", "oranges", or
"lemons". If the user chooses "oranges", then that becomes the series name in
the chart.

Can someone come up with a way to do this. I have thus far done all this
without VBA, and prefer to leave it that way.

Thanks,
Art
  #2   Report Post  
Ed Ferrero
 
Posts: n/a
Default

Hi Arthur,
If you open a chart and select one series (by single clicking it)
the formula bar will show something like this:

=SERIES(Label,X-Range,Y-Ranges,Series No)

Label is the series label, can be a cell reference or a
label enclosed in quotes
X-Range is a range, usually given in the form Sheet1!$C$5:$M$5
but it could also be a series of numbers such as {5,6,7}
or a reference to a range name such as Sheet1!Sales
Y-Range is similar
Series No is an integer giving the z-order of the series

Change the Label to a cell reference like Sheet1!C1 (You can do this by
selecting a cell).
If the cell reference is the same cell that is used by AutoFilter to select
"oranges" then you have what you want.

Ed Ferrero
http://edferrero.m6.net

"ArthurJ" wrote in message
...
I have a table that is set up using "Data-Filter-AutoFilter" so that the
user
can click a drop down arrow in the header for column 1 (the x-values),
select
a value, and the table displays only those records.

A chart is connected to the table.

In the chart I want the series name to be the user's choice of the
dropdown
value. For example, say the x-value choices are "apples", "oranges", or
"lemons". If the user chooses "oranges", then that becomes the series name
in
the chart.

Can someone come up with a way to do this. I have thus far done all this
without VBA, and prefer to leave it that way.

Thanks,
Art



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
Quasi Transpose / Stacking Columns Mike Excel Worksheet Functions 10 April 26th 05 08:04 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
series graph -- one series being added to another series rich zielinski via OfficeKB.com Charts and Charting in Excel 3 March 30th 05 06:23 PM
Dynamic series in Chart Jeff Charts and Charting in Excel 2 February 24th 05 11:54 AM


All times are GMT +1. The time now is 03:29 AM.

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"