Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
 
Posts: n/a
Default Using variables in Chart Ranges

I have created a chart with a Value (data range) of €˜='Raw Data'!$S$3:$S$6
but I need to make the number of rows to chart variable. I have created a
variable called €˜numrows with the COUNTA option. How do I replace the $S$6
with numrows so when I import data into the Raw Data worksheet, the proper
number of rows will be charted?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.charting
Jon Peltier
 
Posts: n/a
Default Using variables in Chart Ranges

You have to create a named range (variable) that describes the entire range,
not just part of it, or a dimension of it. Then this variable can be used in
the chart. Here are some examples and links:

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

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

" wrote in
message ...
I have created a chart with a Value (data range) of '='Raw Data'!$S$3:$S$6'
but I need to make the number of rows to chart variable. I have created a
variable called 'numrows' with the COUNTA option. How do I replace the
$S$6
with numrows so when I import data into the Raw Data worksheet, the proper
number of rows will be charted?

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
In a 2 Y-Axis chart, how do I assign data ranges to an axis? Claire4Golf Charts and Charting in Excel 1 September 28th 05 07:52 PM
Excel2000: Weird chart behaviour Arvi Laanemets Excel Discussion (Misc queries) 2 September 6th 05 07:48 AM
Activating a Chart object Hari Prasadh Charts and Charting in Excel 6 August 2nd 05 07:22 PM
Combination chart with three data ranges Joe Mac Charts and Charting in Excel 2 July 11th 05 11:00 PM
Multiple Ranges for a Chart Barb R. Charts and Charting in Excel 0 May 31st 05 11:52 PM


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