Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Dynamic Charts

Hi All,
I have a set of embedded charts (linked to worksheet data). Typically these
might show the last 12 months of data, but it may be other fixed periods as
required.

How can I arrange for the chart ranges to dynamically change as new values
are added to next empty cell in the range? For example if I am displaying
the last 12 months say Jul06 thru Jun07, when I add a value for Jul07 the
chart changes to show Aug06 thru Jul07.

Currently we edit the chart ranges manually, which is both tedious and error
prone.

Prefer a Excel function solution but if VBA needed we can use it.

Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Dynamic Charts

Yes, perfectly possible; take a look at
http://www.tushar-mehta.com/excel/ne...rts/index.html
whe
2)Graph only the last so many entries in a data series
might be of use.
--
p45cal


"Nigel RS" wrote:

Hi All,
I have a set of embedded charts (linked to worksheet data). Typically these
might show the last 12 months of data, but it may be other fixed periods as
required.

How can I arrange for the chart ranges to dynamically change as new values
are added to next empty cell in the range? For example if I am displaying
the last 12 months say Jul06 thru Jun07, when I add a value for Jul07 the
chart changes to show Aug06 thru Jul07.

Currently we edit the chart ranges manually, which is both tedious and error
prone.

Prefer a Excel function solution but if VBA needed we can use it.

Many thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Dynamic Charts

Many thanks for the link, it works!

Cheers
Nigel

"p45cal" wrote:

Yes, perfectly possible; take a look at
http://www.tushar-mehta.com/excel/ne...rts/index.html
whe
2)Graph only the last so many entries in a data series
might be of use.
--
p45cal


"Nigel RS" wrote:

Hi All,
I have a set of embedded charts (linked to worksheet data). Typically these
might show the last 12 months of data, but it may be other fixed periods as
required.

How can I arrange for the chart ranges to dynamically change as new values
are added to next empty cell in the range? For example if I am displaying
the last 12 months say Jul06 thru Jun07, when I add a value for Jul07 the
chart changes to show Aug06 thru Jul07.

Currently we edit the chart ranges manually, which is both tedious and error
prone.

Prefer a Excel function solution but if VBA needed we can use it.

Many thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Dynamic Charts

Many thanks for the link. that is the answer.

Cheers


"p45cal" wrote:

Yes, perfectly possible; take a look at
http://www.tushar-mehta.com/excel/ne...rts/index.html
whe
2)Graph only the last so many entries in a data series
might be of use.
--
p45cal


"Nigel RS" wrote:

Hi All,
I have a set of embedded charts (linked to worksheet data). Typically these
might show the last 12 months of data, but it may be other fixed periods as
required.

How can I arrange for the chart ranges to dynamically change as new values
are added to next empty cell in the range? For example if I am displaying
the last 12 months say Jul06 thru Jun07, when I add a value for Jul07 the
chart changes to show Aug06 thru Jul07.

Currently we edit the chart ranges manually, which is both tedious and error
prone.

Prefer a Excel function solution but if VBA needed we can use it.

Many thanks

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Dynamic Charts

this page at Debra Dalgleish's site shows how to construct a dynamic range

http://www.contextures.com/xlNames01.html#Dynamic

You would modify it using calculated arguements of the OFFSET or INDEX
function. These would be used in a defineded name which would be used as the
source for your chart.

--
Regards,
Tom Ogilvy


"Nigel RS" wrote:

Hi All,
I have a set of embedded charts (linked to worksheet data). Typically these
might show the last 12 months of data, but it may be other fixed periods as
required.

How can I arrange for the chart ranges to dynamically change as new values
are added to next empty cell in the range? For example if I am displaying
the last 12 months say Jul06 thru Jun07, when I add a value for Jul07 the
chart changes to show Aug06 thru Jul07.

Currently we edit the chart ranges manually, which is both tedious and error
prone.

Prefer a Excel function solution but if VBA needed we can use it.

Many thanks

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Dynamic Charts

Also at Debra's site is an index into Jon Peltier's site. Look in that index
for dynamic chart:

http://www.contextures.com/JPChartIndex.htm

--
Regards,
Tom Ogilvy


"Nigel RS" wrote:

Hi All,
I have a set of embedded charts (linked to worksheet data). Typically these
might show the last 12 months of data, but it may be other fixed periods as
required.

How can I arrange for the chart ranges to dynamically change as new values
are added to next empty cell in the range? For example if I am displaying
the last 12 months say Jul06 thru Jun07, when I add a value for Jul07 the
chart changes to show Aug06 thru Jul07.

Currently we edit the chart ranges manually, which is both tedious and error
prone.

Prefer a Excel function solution but if VBA needed we can use it.

Many thanks

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Dynamic Charts

Many thanks a useful reference

"Tom Ogilvy" wrote:

Also at Debra's site is an index into Jon Peltier's site. Look in that index
for dynamic chart:

http://www.contextures.com/JPChartIndex.htm

--
Regards,
Tom Ogilvy


"Nigel RS" wrote:

Hi All,
I have a set of embedded charts (linked to worksheet data). Typically these
might show the last 12 months of data, but it may be other fixed periods as
required.

How can I arrange for the chart ranges to dynamically change as new values
are added to next empty cell in the range? For example if I am displaying
the last 12 months say Jul06 thru Jun07, when I add a value for Jul07 the
chart changes to show Aug06 thru Jul07.

Currently we edit the chart ranges manually, which is both tedious and error
prone.

Prefer a Excel function solution but if VBA needed we can use it.

Many thanks

  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Dynamic Charts

I have an index too <g:

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

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


"Tom Ogilvy" wrote in message
...
Also at Debra's site is an index into Jon Peltier's site. Look in that
index
for dynamic chart:

http://www.contextures.com/JPChartIndex.htm

--
Regards,
Tom Ogilvy


"Nigel RS" wrote:

Hi All,
I have a set of embedded charts (linked to worksheet data). Typically
these
might show the last 12 months of data, but it may be other fixed periods
as
required.

How can I arrange for the chart ranges to dynamically change as new
values
are added to next empty cell in the range? For example if I am
displaying
the last 12 months say Jul06 thru Jun07, when I add a value for Jul07 the
chart changes to show Aug06 thru Jul07.

Currently we edit the chart ranges manually, which is both tedious and
error
prone.

Prefer a Excel function solution but if VBA needed we can use it.

Many thanks





  #11   Report Post  
Posted to microsoft.public.excel.programming
Ken Ken is offline
external usenet poster
 
Posts: 207
Default Dynamic Charts

The OFFSET function is very useful in this effort. If you give the
data to be charted a defined name, and define the name using the
offset function you can do exactly what you want. For example (copied
from a dynamic chart of mine), if you have a range named "Actual",
defined as

=OFFSET(combined!$C$3,COUNTA(combined!$C:$C)-3,1)

where your data is in column C and you assign "Actual" to be the
values for your series, then your series will grow as the range
increases. In this case, I have 3 non-blank cells in column C that
are not part of the data, the the data starts in row 4; hence, I
offset from row 3 by the total number of non-blank cells in column C,
less 3. When assigning the named range to the values, you need to
include the sheet name.

Good luck.


Ken
Norfolk, Va




On Jun 25, 8:15 am, Nigel RS
wrote:
Hi All,
I have a set of embedded charts (linked to worksheet data). Typically these
might show the last 12 months of data, but it may be other fixed periods as
required.

How can I arrange for the chart ranges to dynamically change as new values
are added to next empty cell in the range? For example if I am displaying
the last 12 months say Jul06 thru Jun07, when I add a value for Jul07 the
chart changes to show Aug06 thru Jul07.

Currently we edit the chart ranges manually, which is both tedious and error
prone.

Prefer a Excel function solution but if VBA needed we can use it.

Many thanks



  #12   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Dynamic Charts

Thanks Ken , works great.


"Ken" wrote:

The OFFSET function is very useful in this effort. If you give the
data to be charted a defined name, and define the name using the
offset function you can do exactly what you want. For example (copied
from a dynamic chart of mine), if you have a range named "Actual",
defined as

=OFFSET(combined!$C$3,COUNTA(combined!$C:$C)-3,1)

where your data is in column C and you assign "Actual" to be the
values for your series, then your series will grow as the range
increases. In this case, I have 3 non-blank cells in column C that
are not part of the data, the the data starts in row 4; hence, I
offset from row 3 by the total number of non-blank cells in column C,
less 3. When assigning the named range to the values, you need to
include the sheet name.

Good luck.


Ken
Norfolk, Va




On Jun 25, 8:15 am, Nigel RS
wrote:
Hi All,
I have a set of embedded charts (linked to worksheet data). Typically these
might show the last 12 months of data, but it may be other fixed periods as
required.

How can I arrange for the chart ranges to dynamically change as new values
are added to next empty cell in the range? For example if I am displaying
the last 12 months say Jul06 thru Jun07, when I add a value for Jul07 the
chart changes to show Aug06 thru Jul07.

Currently we edit the chart ranges manually, which is both tedious and error
prone.

Prefer a Excel function solution but if VBA needed we can use it.

Many 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
Dynamic Charts Cath Charts and Charting in Excel 1 November 20th 08 02:10 PM
Dynamic Charts [email protected] Excel Discussion (Misc queries) 1 September 20th 07 04:22 AM
Make dynamic charts more dynamic Milo Charts and Charting in Excel 1 April 12th 06 09:01 AM
Dynamic Charts dbaggett Charts and Charting in Excel 1 December 7th 05 10:34 PM
dynamic charts Dave Breitenbach Charts and Charting in Excel 5 July 1st 05 05:49 AM


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