LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default creating range for chart

You can use dynamic named ranges for you data, and use that names as the data
sources. For some examples on dynamic named ranges you may check:
http://www.ozgrid.com/Excel/DynamicRanges.htm

Hope this helps,
Miguel.

" wrote:

I have an Excel application that returns relevant data into a table
that has a set number of columns but the rows may vary. I have a
corresponding graph based on the results. The problem is when the
number of rows returned is more or less than the original, so my graph
is incomplete.

Presently the 'source' data for the graph reads

y1 axis =Report!$C$7:$C$12
y2 axis =Report!$B$7:$B$12
x axis labels; =Report!$A$7:$A$12

This graphs fine if I have exactly 6 rows of data, but if I have more
the chart does not recognize these.

How would I program this so the chart knows to expand or contract based
on the number of rows with live data?

Thank you,

Tony B


 
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
How do you Identify text as a named range in excel DMDave Excel Discussion (Misc queries) 6 May 7th 06 11:48 PM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
creating function (vba) with range arguments Fredouille Excel Worksheet Functions 2 September 12th 05 11:01 AM
Can I use named range in data range box when creating pie chart? BJackson Charts and Charting in Excel 2 August 17th 05 05:37 PM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM


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