PC Review


Reply
Thread Tools Rate Thread

Data selection on line chart

 
 
Qiset
Guest
Posts: n/a
 
      10th Aug 2005

I'm collecting data but only want to chart the last 60 points on my line
chart.
To do this I have to manually update the series value information in
the source data.
for example: I have 176 rows of data and the chart series
value is "=sheet1$b$117:$b$176" if I add a new row I have to
change this to "=sheet1$b$118:$b$177".
Is there any way to use a variable for this? say LRD is the last row
of data
could I change this value statement to be "=sheet1$b$(LRD-59):$b$(LRD)
so that anytime I add a new row it would update the chart?

thanks,

Q


--
Qiset
------------------------------------------------------------------------
Qiset's Profile: http://www.excelforum.com/member.php...o&userid=25865
View this thread: http://www.excelforum.com/showthread...hreadid=394545

 
Reply With Quote
 
 
 
 
Andy Pope
Guest
Posts: n/a
 
      10th Aug 2005
Hi,

You need to use dynamic named ranges. See Jon's explanation which you
can modify to plot the last 60 instead of last 12 periods.
http://peltiertech.com/Excel/Charts/DynamicLast12.html

Cheers
Andy

Qiset wrote:
> I'm collecting data but only want to chart the last 60 points on my line
> chart.
> To do this I have to manually update the series value information in
> the source data.
> for example: I have 176 rows of data and the chart series
> value is "=sheet1$b$117:$b$176" if I add a new row I have to
> change this to "=sheet1$b$118:$b$177".
> Is there any way to use a variable for this? say LRD is the last row
> of data
> could I change this value statement to be "=sheet1$b$(LRD-59):$b$(LRD)
> so that anytime I add a new row it would update the chart?
>
> thanks,
>
> Q
>
>


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
 
Reply With Quote
 
Qiset
Guest
Posts: n/a
 
      11th Aug 2005

Perfect! Many thanks!



--
Qise
-----------------------------------------------------------------------
Qiset's Profile: http://www.excelforum.com/member.php...fo&userid=2586
View this thread: http://www.excelforum.com/showthread.php?threadid=39454

 
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
Dynamic chart format & data selection? jg70124@gmail.com Microsoft Excel Charting 5 7th Apr 2008 06:45 PM
Line selection for formating in Excel chart DaveR Microsoft Excel Charting 5 2nd Feb 2008 04:18 PM
Cutting a line in a line chart when data series stops =?Utf-8?B?RGFubnlT?= Microsoft Excel Charting 2 28th Aug 2007 10:38 AM
re-selection of Chart data range using keyboard =?Utf-8?B?RGF2aWQ=?= Microsoft Excel Worksheet Functions 0 15th Jun 2005 10:08 AM
Re: HOW CAN I ADD ADDITIONAL DATA MARKERS TO MY SELECTION FOR CHART Andy Pope Microsoft Excel Misc 0 27th Aug 2004 04:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:23 AM.