A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Charts which automatically adapt to variable source data length



 
 
Thread Tools Display Modes
  #1  
Old August 15th, 2004, 03:57 AM
Excel Engineer
external usenet poster
 
Posts: n/a
Default Charts which automatically adapt to variable source data length

I create a line chart with X-Y data in Cells A1:B100, but since I am
importing electronic data sometime I only have 50 rows of data (Cells A1:B50)
which leaves a lot of unused chart space. Can I create a chart which
automatically adapts its source data reference to the number of rows of real
data (Cells A1:B50) in the specified source data interval (Cells A1:B100)?

Conceptually, I could construct a formula in the chart source data fields
such as: =A1:address(Count(A1:A100),1). This would count up the number of
rows of real data in column "A" and with the address function generate a cell
address for the last cell of real data "A50" creating the source data address
=A1:A50. Unfortunally I cant get the program to accept any functions in the
chart source data fields.

Any suggestions would be appreciated!!
  #2  
Old August 15th, 2004, 12:47 PM
Andy Pope
external usenet poster
 
Posts: n/a
Default

Hi,

You need to create a dynamic named range upon which you can chart.
Check out Jon's example
http://peltiertech.com/Excel/Charts/Dynamics.html

Cheers
Andy

Excel Engineer wrote:

I create a line chart with X-Y data in Cells A1:B100, but since I am
importing electronic data sometime I only have 50 rows of data (Cells A1:B50)
which leaves a lot of unused chart space. Can I create a chart which
automatically adapts its source data reference to the number of rows of real
data (Cells A1:B50) in the specified source data interval (Cells A1:B100)?

Conceptually, I could construct a formula in the chart source data fields
such as: =A1:address(Count(A1:A100),1). This would count up the number of
rows of real data in column "A" and with the address function generate a cell
address for the last cell of real data "A50" creating the source data address
=A1:A50. Unfortunally I cant get the program to accept any functions in the
chart source data fields.

Any suggestions would be appreciated!!


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Update Charts with Data Automatically Jon Peltier Charts and Charting 1 March 30th, 2004 10:33 AM
chart with changing data source interactive chart Feketik Charts and Charting 0 March 18th, 2004 04:34 PM
Source Data Ranges in Charts Tushar Mehta Charts and Charting 0 November 30th, 2003 03:29 PM
Automatically create charts from data table - help needed Gordon Charts and Charting 1 October 20th, 2003 05:49 PM
Creating a large number of charts automatically (repost) Francine Kubaka Charts and Charting 0 September 21st, 2003 09:16 PM


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.