Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 11
Default Volatile source data range

I'm trying to construct a template that does some data analysis and plots the
results, and I am only one step away from getting what I need. The issue is
that the length of my source data table varies for each data set I analyze.
I have the charts made up, but as it is now I must manually change the source
data range each time I use the template. Ideally, I would like to enter the
source data range with a function like INDIRECT (because I can generate the
range as text in the spreadsheet). The Source Data window won't accept this,
however. Is there some other way to do this? Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 11
Default Volatile source data range

Just thought of this, but if possible I'd like the chart titles, etc., to be
read from the spreadsheet, too, if there is a way. Thanks!

"Nick H" wrote:

I'm trying to construct a template that does some data analysis and plots the
results, and I am only one step away from getting what I need. The issue is
that the length of my source data table varies for each data set I analyze.
I have the charts made up, but as it is now I must manually change the source
data range each time I use the template. Ideally, I would like to enter the
source data range with a function like INDIRECT (because I can generate the
range as text in the spreadsheet). The Source Data window won't accept this,
however. Is there some other way to do this? Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 3,346
Default Volatile source data range

Hi,

You can do this with dynamic range names but if the data is laid out
vertically and you are using Excel 2003 or 2007 then I recommend a List or
Table. You data must have one row of titles directly above the data:

Select the data range and choose Data, List, Create List, click OK. The
chart will use this range and when data is added below it the chart will
automatically adjust. In 2007, choose the command Home, Format as Table and
pick any style and click OK. If you don't want the fancy formatting you can
later choose the top left style, from the Table Style gallery.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Nick H" wrote:

I'm trying to construct a template that does some data analysis and plots the
results, and I am only one step away from getting what I need. The issue is
that the length of my source data table varies for each data set I analyze.
I have the charts made up, but as it is now I must manually change the source
data range each time I use the template. Ideally, I would like to enter the
source data range with a function like INDIRECT (because I can generate the
range as text in the spreadsheet). The Source Data window won't accept this,
however. Is there some other way to do this? Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 11
Default Volatile source data range

Thanks, Shane. I tried this, and something strange happened. FYI, I'm using
Excel 2003 and making a log-log scatter plot. When I created a list with a
header for my X data, and then substituted the header for the range in the
chart, it changed the data from the cell content to the row number. For
example, the X value in cell A18 is 365. When I made the change you
suggested, it plotted the corresponding Y value at 18 on the X axis, rather
than 365. Any ideas?

"Shane Devenshire" wrote:

Hi,

You can do this with dynamic range names but if the data is laid out
vertically and you are using Excel 2003 or 2007 then I recommend a List or
Table. You data must have one row of titles directly above the data:

Select the data range and choose Data, List, Create List, click OK. The
chart will use this range and when data is added below it the chart will
automatically adjust. In 2007, choose the command Home, Format as Table and
pick any style and click OK. If you don't want the fancy formatting you can
later choose the top left style, from the Table Style gallery.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Nick H" wrote:

I'm trying to construct a template that does some data analysis and plots the
results, and I am only one step away from getting what I need. The issue is
that the length of my source data table varies for each data set I analyze.
I have the charts made up, but as it is now I must manually change the source
data range each time I use the template. Ideally, I would like to enter the
source data range with a function like INDIRECT (because I can generate the
range as text in the spreadsheet). The Source Data window won't accept this,
however. Is there some other way to do this? Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 11
Default Volatile source data range

Problem solved; see
http://peltiertech.com/Excel/Charts/...umnChart1.html

Cheers!

"Nick H" wrote:

I'm trying to construct a template that does some data analysis and plots the
results, and I am only one step away from getting what I need. The issue is
that the length of my source data table varies for each data set I analyze.
I have the charts made up, but as it is now I must manually change the source
data range each time I use the template. Ideally, I would like to enter the
source data range with a function like INDIRECT (because I can generate the
range as text in the spreadsheet). The Source Data window won't accept this,
however. Is there some other way to do this? 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
Using a named range as a data source for a chart MichaelR Excel Worksheet Functions 0 June 15th 08 01:34 AM
Prob with ChartSource DataData Range MikeZz Charts and Charting in Excel 3 February 6th 07 06:02 PM
Using formula to calculate data source range ebarathne Charts and Charting in Excel 1 September 1st 06 01:00 PM
Setting source data range with Charts D Charts and Charting in Excel 2 January 1st 06 02:51 AM
How can i set the source-data-range of pivottable2 to the source . Piet Excel Discussion (Misc queries) 0 March 5th 05 09:31 PM


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