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

Dear All,
I want to know whether there is such function in Ms Excel?..
For example, I have some data series consisting 100 data..and every month I
will add 1 data into the series..
And I want to create a chart showing the 10 latest data... in this regard,
every time I add a data, automatically (or by clicking some button)...the
chart will updating the data by add the new one and remove the oldest one,...
so the chart still consist the 10 latest data...
what i've been doing right now is only by dragging the data source area....
and since i will deal with more than 20 charts, this action quite time
consuming (since I put all charts in 1 sheet and the other sheets consist
of data for each charts)..

I am sorry that my english is not good.. but I hope all of you can
understand what I mean.. and help me with this issue..

thanks a lot..


  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default Automatic data update

Hi,

Have a read of the information on Dynamic charts.
http://peltiertech.com/Excel/Charts/Dynamics.html

It will take some setting up for your 20 charts but once set up it
should automatically update each time.

Cheers
Andy

Tommy Keraf wrote:
Dear All,
I want to know whether there is such function in Ms Excel?..
For example, I have some data series consisting 100 data..and every month I
will add 1 data into the series..
And I want to create a chart showing the 10 latest data... in this regard,
every time I add a data, automatically (or by clicking some button)...the
chart will updating the data by add the new one and remove the oldest one,...
so the chart still consist the 10 latest data...
what i've been doing right now is only by dragging the data source area....
and since i will deal with more than 20 charts, this action quite time
consuming (since I put all charts in 1 sheet and the other sheets consist
of data for each charts)..

I am sorry that my english is not good.. but I hope all of you can
understand what I mean.. and help me with this issue..

thanks a lot..



--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Automatic data update

Dear Mr. Pope,

Thanks a lot for your help. I have followed the instruction and it works ..

I want to ask your help once more.. about the command "..
=OFFSET(Sheet1!$A$1,COUNTA(Sheet1!$A:$A)-1,0,-MIN(chtLen,COUNTA(Sheet1!$A:$A)-1),1) .."

how to modify this .. if I use two columns for period ... (in column A :
Year: and column B; month)...

col A ColB
2000 Jan
Feb
Mar
....
....
2006 Jan
Feb
Mar

So the year only appear in the same row with January.
I've been trying to modify the command, but it does not work well..


Thank you




"Andy Pope" wrote:

Hi,

Have a read of the information on Dynamic charts.
http://peltiertech.com/Excel/Charts/Dynamics.html

It will take some setting up for your 20 charts but once set up it
should automatically update each time.

Cheers
Andy


  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default Automatic data update

Hi,

Assuming your data is in A1:C75 use these two named ranges to get most
recent 12 months data.

CHTLABEL:
=OFFSET(Sheet1!$A$1,COUNTA(Sheet1!$B:$B)-MIN(12,COUNTA(Sheet1!$B:$B)),0,MIN(12,COUNTA(Sheet 1!$B:$B)),2)

CHTDAT:
=OFFSET(ChtLabel,0,2,,1)

You may also need to use formula in order to display the year value in
the correct cell such that it will be displayed in the chart.

Cheers
Andy

Tommy Keraf wrote:
Dear Mr. Pope,

Thanks a lot for your help. I have followed the instruction and it works ..

I want to ask your help once more.. about the command "..
=OFFSET(Sheet1!$A$1,COUNTA(Sheet1!$A:$A)-1,0,-MIN(chtLen,COUNTA(Sheet1!$A:$A)-1),1) .."

how to modify this .. if I use two columns for period ... (in column A :
Year: and column B; month)...

col A ColB
2000 Jan
Feb
Mar
....
....
2006 Jan
Feb
Mar

So the year only appear in the same row with January.
I've been trying to modify the command, but it does not work well..


Thank you




"Andy Pope" wrote:


Hi,

Have a read of the information on Dynamic charts.
http://peltiertech.com/Excel/Charts/Dynamics.html

It will take some setting up for your 20 charts but once set up it
should automatically update each time.

Cheers
Andy




--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
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
Automatic Update of Dropdown List Box data Rajat Excel Worksheet Functions 4 March 8th 12 05:09 PM
Automatic update of spreadsheet & automatic update between workboo Losva Excel Worksheet Functions 6 September 12th 08 03:22 PM
Automatic Update Chuck Charts and Charting in Excel 1 June 9th 06 07:34 PM
Automatic update LLoraine Excel Discussion (Misc queries) 3 February 24th 06 08:57 PM
automatic update of filtered linked data? [email protected] Excel Discussion (Misc queries) 0 February 4th 05 07:27 PM


All times are GMT +1. The time now is 12:03 PM.

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"