PC Review


Reply
Thread Tools Rate Thread

Chart Source Data Ranges Changing when Data Sheet updated from text file source.

 
 
Tekn0
Guest
Posts: n/a
 
      7th Jan 2004
I have a simple Excel wb with 2 sheets. Sheet 1 is simple Line Charts.
Sheet 2 is the data for these charts. The data comes from a text file via
the 'Import External Data' tool.
The text file is filled throughout the day with data every 5 minutes
starting at 00:00. Because the chart will contain 288 data points I've set
my series values to"=<data sheet name>!$C$2:$C$289"

I have 2 questions.
1) Whenever I refresh the Data Sheet from the external text file the series
values in my charts increment by the number of new data points. This is no
good as it causes my charts to appear differently throughout the day. What
could be the cause?

2) Is there a way to chart just cells which have data in them? If I set
the series values in a chart to "=<data sheet name>!$C:$C" it creates a
chart with 65535 data points all but a few blank and the chart is no usable.

Thanks,
--S


 
Reply With Quote
 
 
 
 
Bernard V Liengme
Guest
Posts: n/a
 
      7th Jan 2004
See example of dynamic chart at www.stfx.ca/people/bliengme/ExcelTips
Best wishes
Bernard

"Tekn0" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a simple Excel wb with 2 sheets. Sheet 1 is simple Line Charts.
> Sheet 2 is the data for these charts. The data comes from a text file via
> the 'Import External Data' tool.
> The text file is filled throughout the day with data every 5 minutes
> starting at 00:00. Because the chart will contain 288 data points I've

set
> my series values to"=<data sheet name>!$C$2:$C$289"
>
> I have 2 questions.
> 1) Whenever I refresh the Data Sheet from the external text file the

series
> values in my charts increment by the number of new data points. This is

no
> good as it causes my charts to appear differently throughout the day.

What
> could be the cause?
>
> 2) Is there a way to chart just cells which have data in them? If I set
> the series values in a chart to "=<data sheet name>!$C:$C" it creates a
> chart with 65535 data points all but a few blank and the chart is no

usable.
>
> Thanks,
> --S
>
>



 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      7th Jan 2004
1) Won't the charts appear differently as data is appended to the
series? Or is there a difference I don't understand?

2) You can set up dynamic ranges that contain only the non blank part of
the data range, and chart these. Here's an overview, with examples and
more links:

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

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______

Tekn0 wrote:

> I have a simple Excel wb with 2 sheets. Sheet 1 is simple Line Charts.
> Sheet 2 is the data for these charts. The data comes from a text file via
> the 'Import External Data' tool.
> The text file is filled throughout the day with data every 5 minutes
> starting at 00:00. Because the chart will contain 288 data points I've set
> my series values to"=<data sheet name>!$C$2:$C$289"
>
> I have 2 questions.
> 1) Whenever I refresh the Data Sheet from the external text file the series
> values in my charts increment by the number of new data points. This is no
> good as it causes my charts to appear differently throughout the day. What
> could be the cause?
>
> 2) Is there a way to chart just cells which have data in them? If I set
> the series values in a chart to "=<data sheet name>!$C:$C" it creates a
> chart with 65535 data points all but a few blank and the chart is no usable.
>
> Thanks,
> --S
>
>


 
Reply With Quote
 
Tekn0
Guest
Posts: n/a
 
      8th Jan 2004
Sure the chart does change, but what is happening is that because there will
only ever be 288 data points, the refresh of the data adds additional length
to the series values. The result at the end of the day is a chart of the
days data, that only spans the front half of the chart.

I think your dynamic examples are going to do exactly what I need. Thanks
for the link.

--S



"Jon Peltier" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 1) Won't the charts appear differently as data is appended to the
> series? Or is there a difference I don't understand?
>
> 2) You can set up dynamic ranges that contain only the non blank part of
> the data range, and chart these. Here's an overview, with examples and
> more links:
>
> http://peltiertech.com/Excel/Charts/Dynamics.html
>
> - Jon
> -------
> Jon Peltier, Microsoft Excel MVP
> Peltier Technical Services
> http://PeltierTech.com/Excel/Charts/
> _______



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
One Chart, Same Data ranges, different source sheets Greg in CO Microsoft Excel Charting 4 12th Mar 2010 02:57 PM
Multi Area data ranges as Chart source GS80 Microsoft Excel Charting 2 30th Jan 2008 09:54 AM
Setting Source Data for Chart Ranges in VB =?Utf-8?B?S01I?= Microsoft Excel Programming 1 12th Jul 2007 04:03 PM
Can I preserve chart formatting when the source data is updated? =?Utf-8?B?SmFzZW5E?= Microsoft Excel Charting 3 19th Jun 2006 01:38 PM
What if I DON'T want the chart to be updated when source data changes? arhooley Microsoft Excel Charting 2 9th Jun 2005 05:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:41 PM.