Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 50
Default Setting Chart X and Y values indirectly

I would like to set X-Values in my chart in a cell of a worksheet, so that
when the range of my x-values changes I will not have to go into the wizard
and type it again.

For example, I want to use the following X-values in my chart:

=DATA!$I$2:$I$20

But instead of typing the above in the X Values: field in the 'Source Data /
Series' wizard, I would like to type it, say, in cell $A$1 of 'Sheet1', and
then type in the X Values field in the 'Source Data / Series' wizard the
following:

=Sheet1!$A$1

I tried it and it does not work. Can you please let me know if there is a
way to achieve what I am trying to do?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Setting Chart X and Y values indirectly

Define a name (Insert menu Names Define) that uses the definition of the
range:

Name: MyXRange
Refers To:
=DATA!$I$2:$I$20

Then in the source data dialog, you can enter =DATA!MyXRange in the X values
field. You can use formulas to make the definition of MyXRange change
according to how the data itself changes. This technique is referred to as
'Dynamic Charting'. See some examples and links he

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

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


"Manos" wrote in message
...
I would like to set X-Values in my chart in a cell of a worksheet, so that
when the range of my x-values changes I will not have to go into the
wizard
and type it again.

For example, I want to use the following X-values in my chart:

=DATA!$I$2:$I$20

But instead of typing the above in the X Values: field in the 'Source Data
/
Series' wizard, I would like to type it, say, in cell $A$1 of 'Sheet1',
and
then type in the X Values field in the 'Source Data / Series' wizard the
following:

=Sheet1!$A$1

I tried it and it does not work. Can you please let me know if there is a
way to achieve what I am trying to do?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 50
Default Setting Chart X and Y values indirectly

John,

Thank you! I will try your suggestion.

Manos

"Jon Peltier" wrote:

Define a name (Insert menu Names Define) that uses the definition of the
range:

Name: MyXRange
Refers To:
=DATA!$I$2:$I$20

Then in the source data dialog, you can enter =DATA!MyXRange in the X values
field. You can use formulas to make the definition of MyXRange change
according to how the data itself changes. This technique is referred to as
'Dynamic Charting'. See some examples and links he

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

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


"Manos" wrote in message
...
I would like to set X-Values in my chart in a cell of a worksheet, so that
when the range of my x-values changes I will not have to go into the
wizard
and type it again.

For example, I want to use the following X-values in my chart:

=DATA!$I$2:$I$20

But instead of typing the above in the X Values: field in the 'Source Data
/
Series' wizard, I would like to type it, say, in cell $A$1 of 'Sheet1',
and
then type in the X Values field in the 'Source Data / Series' wizard the
following:

=Sheet1!$A$1

I tried it and it does not work. Can you please let me know if there is a
way to achieve what I am trying to do?

Thanks.




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
What is function that evaluates other functions indirectly? [email protected] Excel Worksheet Functions 3 February 12th 07 03:26 AM
Auto setting the charts y axis values Lasci Charts and Charting in Excel 0 November 29th 06 10:14 AM
Excel - How to indirectly access a file whose name is in a cell DaveAlbany Excel Worksheet Functions 5 June 22nd 06 05:57 PM
refer indirectly to Name Hershmab Excel Worksheet Functions 5 March 24th 06 04:30 PM
Need to indirectly reference columns 26 using A1 notation based on numeric column number- how to? KR Excel Worksheet Functions 5 October 26th 05 07:08 PM


All times are GMT +1. The time now is 02:21 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"