Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
uriel78
 
Posts: n/a
Default Create new series (on the same chart) for every change of values in a combobox

Just a little variation over the theme of the 3ad of last week:

I've got a *scatter* chart that takes values from cells A1:B100

In C1 and in D1 I've got two combobox (created with data validation method),
each one allows me to choose 4 different parameters. By changing these
values, the values in A1:B100 and the chart change too.

Is there a way to insert *new series on the same chart* every time I change
parameter in C1
and D1, so that I can avoid to do the copy & paste single series manually?

Thanks in advance, any help would be appreciated :-)


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

I sense that you're trying to shortcut the process of defining 16 series
in the chart. I can think of ways to do this in code, but I think the
easiest thing to do is create 16 pairs of columns with the data, make a
chart with the first pair of columns, then in turn copy each of the
other 15 and use paste special to add each to the chart as a new series.

The data validation approach is good if you want to give the user a
chance to see how their choice of parameters will affect the charted values.

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

uriel78 wrote:

Just a little variation over the theme of the 3ad of last week:

I've got a *scatter* chart that takes values from cells A1:B100

In C1 and in D1 I've got two combobox (created with data validation method),
each one allows me to choose 4 different parameters. By changing these
values, the values in A1:B100 and the chart change too.

Is there a way to insert *new series on the same chart* every time I change
parameter in C1
and D1, so that I can avoid to do the copy & paste single series manually?

Thanks in advance, any help would be appreciated :-)


  #3   Report Post  
uriel78
 
Posts: n/a
Default

Thank you for your answer,
I just meant what you think, it would be very useful for me do that thing
Maybe I could define a macro to copy and paste th 16 pairs of columns in
another sheet...and then chart them...uhm...I'll think on it...


"Jon Peltier" ha scritto nel messaggio
...
I sense that you're trying to shortcut the process of defining 16 series
in the chart. I can think of ways to do this in code, but I think the
easiest thing to do is create 16 pairs of columns with the data, make a
chart with the first pair of columns, then in turn copy each of the
other 15 and use paste special to add each to the chart as a new series.

The data validation approach is good if you want to give the user a
chance to see how their choice of parameters will affect the charted

values.

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

uriel78 wrote:

Just a little variation over the theme of the 3ad of last week:

I've got a *scatter* chart that takes values from cells A1:B100

In C1 and in D1 I've got two combobox (created with data validation

method),
each one allows me to choose 4 different parameters. By changing these
values, the values in A1:B100 and the chart change too.

Is there a way to insert *new series on the same chart* every time I

change
parameter in C1
and D1, so that I can avoid to do the copy & paste single series

manually?

Thanks in advance, any help would be appreciated :-)




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

Wouldn't it be quicker to just copy and paste than to struggle with a macro?

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

uriel78 wrote:
Thank you for your answer,
I just meant what you think, it would be very useful for me do that thing
Maybe I could define a macro to copy and paste th 16 pairs of columns in
another sheet...and then chart them...uhm...I'll think on it...


"Jon Peltier" ha scritto nel messaggio
...

I sense that you're trying to shortcut the process of defining 16 series
in the chart. I can think of ways to do this in code, but I think the
easiest thing to do is create 16 pairs of columns with the data, make a
chart with the first pair of columns, then in turn copy each of the
other 15 and use paste special to add each to the chart as a new series.

The data validation approach is good if you want to give the user a
chance to see how their choice of parameters will affect the charted


values.

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

uriel78 wrote:


Just a little variation over the theme of the 3ad of last week:

I've got a *scatter* chart that takes values from cells A1:B100

In C1 and in D1 I've got two combobox (created with data validation


method),

each one allows me to choose 4 different parameters. By changing these
values, the values in A1:B100 and the chart change too.

Is there a way to insert *new series on the same chart* every time I


change

parameter in C1
and D1, so that I can avoid to do the copy & paste single series


manually?

Thanks in advance, any help would be appreciated :-)





  #5   Report Post  
uriel78
 
Posts: n/a
Default

Well, for a single sworkbook it would be surely easier, but in my case I've
got several (N) workbooks to process in such a way...
and for every workboosks I've got three types of charts to plot...:-) and
I'll get crazy to copy and paste 3x16xN pairs of data....







"Jon Peltier" ha scritto nel messaggio
...
Wouldn't it be quicker to just copy and paste than to struggle with a

macro?

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

uriel78 wrote:
Thank you for your answer,
I just meant what you think, it would be very useful for me do that

thing
Maybe I could define a macro to copy and paste th 16 pairs of columns in
another sheet...and then chart them...uhm...I'll think on it...


"Jon Peltier" ha scritto nel

messaggio
...

I sense that you're trying to shortcut the process of defining 16 series
in the chart. I can think of ways to do this in code, but I think the
easiest thing to do is create 16 pairs of columns with the data, make a
chart with the first pair of columns, then in turn copy each of the
other 15 and use paste special to add each to the chart as a new series.

The data validation approach is good if you want to give the user a
chance to see how their choice of parameters will affect the charted


values.

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

uriel78 wrote:


Just a little variation over the theme of the 3ad of last week:

I've got a *scatter* chart that takes values from cells A1:B100

In C1 and in D1 I've got two combobox (created with data validation


method),

each one allows me to choose 4 different parameters. By changing these
values, the values in A1:B100 and the chart change too.

Is there a way to insert *new series on the same chart* every time I


change

parameter in C1
and D1, so that I can avoid to do the copy & paste single series


manually?

Thanks in advance, any help would be appreciated :-)









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

Set up one workbook, with the data and charts. Save it, then save as
with a new name. Copy the data from wherever it is, and use paste
special to paste it as values into the newly named workbook on top of
the existing data. Save, save as, copy, paste special values, etc.

- Jon

uriel78 wrote:
Well, for a single sworkbook it would be surely easier, but in my case I've
got several (N) workbooks to process in such a way...
and for every workboosks I've got three types of charts to plot...:-) and
I'll get crazy to copy and paste 3x16xN pairs of data....







"Jon Peltier" ha scritto nel messaggio
...

Wouldn't it be quicker to just copy and paste than to struggle with a


macro?

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

uriel78 wrote:

Thank you for your answer,
I just meant what you think, it would be very useful for me do that


thing

Maybe I could define a macro to copy and paste th 16 pairs of columns in
another sheet...and then chart them...uhm...I'll think on it...


"Jon Peltier" ha scritto nel


messaggio

...


I sense that you're trying to shortcut the process of defining 16 series
in the chart. I can think of ways to do this in code, but I think the
easiest thing to do is create 16 pairs of columns with the data, make a
chart with the first pair of columns, then in turn copy each of the
other 15 and use paste special to add each to the chart as a new series.

The data validation approach is good if you want to give the user a
chance to see how their choice of parameters will affect the charted

values.


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

uriel78 wrote:



Just a little variation over the theme of the 3ad of last week:

I've got a *scatter* chart that takes values from cells A1:B100

In C1 and in D1 I've got two combobox (created with data validation

method),


each one allows me to choose 4 different parameters. By changing these
values, the values in A1:B100 and the chart change too.

Is there a way to insert *new series on the same chart* every time I

change


parameter in C1
and D1, so that I can avoid to do the copy & paste single series

manually?


Thanks in advance, any help would be appreciated :-)







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 06:19 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"