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  

Charting Variable Ranges



 
 
Thread Tools Display Modes
  #1  
Old October 11th, 2004, 06:19 PM
Mr Tom
external usenet poster
 
Posts: n/a
Default Charting Variable Ranges

I have an xls which contains money saved tracked against=20
month and year it takes place.
This is then charted.
i.e:
Jan 04 =A310,000,000
Feb 04 =A3120,000

As time passes, more months end up on the base. I had=20
hoped that by using a variable range name, I'd be able to=20
get the charts to automatically update, e.g. define a=20
range for the series data as:
=3DINDIRECT("Sheet1!B1:B"&COUNTA($B:$B))
(call it varSavedByDate)
and then have the chart refer to the range by name.

Unfortunately this doesn't seem to work.

Any bright ideas?

  #2  
Old October 11th, 2004, 06:35 PM
duane
external usenet poster
 
Posts: n/a
Default


you can define a variable length range name by somethinglike the
following

range "range" = a1ffset(count(a1:a1000),0,0,0)

you may need to use counta or countif instead of count depending on
your sheet.


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=268232

  #3  
Old October 13th, 2004, 03:12 AM
Jon Peltier
external usenet poster
 
Posts: n/a
Default

Don -

I don't know about 2003, but most versions of Excel need you to include the sheet or
workbook name when designating a range name as series data:

=Sheet1!MyRng
='Sheet Name'!MyRng
=Book1.xls!MyRng

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

Don Guillett wrote:

try defining a name such as myrng
insertnamedefine
=myrng
=offset($a$1,0,0,counta($A:$A),3)
for a1:c count of all in col A.

now your series is
=myrng and excel will autofill in the workbook.xls and sheetname!



  #4  
Old October 14th, 2004, 04:19 PM
Don Guillett
external usenet poster
 
Posts: n/a
Default

Jon, (xl2002)
I thought I had discovered this shortcut, working on a clients wb, when
changing a set range series to a named range series. However, I just tested
with a new workbook and chart and found that it did NOT work. I stand
corrected.

--
Don Guillett
SalesAid Software

"Jon Peltier" wrote in message
...
Don -

I don't know about 2003, but most versions of Excel need you to include

the sheet or
workbook name when designating a range name as series data:

=Sheet1!MyRng
='Sheet Name'!MyRng
=Book1.xls!MyRng

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

Don Guillett wrote:

try defining a name such as myrng
insertnamedefine
=myrng
=offset($a$1,0,0,counta($A:$A),3)
for a1:c count of all in col A.

now your series is
=myrng and excel will autofill in the workbook.xls and sheetname!





  #5  
Old October 16th, 2004, 01:15 PM
Jon Peltier
external usenet poster
 
Posts: n/a
Default

Don -

That's the number 1 reason people have problems charting with defined names.

- Jon

Don Guillett wrote:

Jon, (xl2002)
I thought I had discovered this shortcut, working on a clients wb, when
changing a set range series to a named range series. However, I just tested
with a new workbook and chart and found that it did NOT work. I stand
corrected.


 




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 do I Chart Ranges instead of points with each variable? Lost in Charts Charts and Charting 2 August 24th, 2004 11:07 PM
Variable graphing ranges Ron M New Users 0 July 27th, 2004 06:10 PM
VBA and Charting Named Ranges? Bill Hertzing Charts and Charting 3 January 20th, 2004 01:58 PM
Charting Date Ranges Jon Peltier Charts and Charting 0 November 25th, 2003 05:25 PM


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