LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Trick? for using INDIRECT references in Data Source of Chart?

You can update a single cell and thus change a load of OFFSETS. For example,
suppose that single cell (A1) contains 1, 2, or 3, referring to which block
of columns to get the X and Y from. The refers-to formulas for X and Y might
look like:

MyXValues
=OFFSET(A1,1,A1*2+2,count(offset(A:A,0,A1*2+2)),1)

MyYValues
=OFFSET(MyXValues,0,1)

Changing the value typed into A1 changes where MyXValues (and therefore
MyYValues) gets its data.

There are many ways to skin this cat, use your imagination.

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


"Herb Martin" wrote in message
...
"Andy Pope" wrote in message
...
Hi,

You can use named ranges on the Data Range tab but the reference will
revert to a static reference once the dialog is closed.

See Tushar's suggestion for specifying named ranges for each individual
series.


I really wanted something where I could just update a single
cell and get all of the (7) ranges to update -- sounds like I
either have to go the VBS route or it just moves the problem
from the chart data to having to rename (all of) the ranges.

Thanks to both of you.

--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]


Cheers
Andy

Herb Martin wrote:
Is it possible to use INDIRECT references in Data Source of Chart?
If so, is there some trick?

Goal: Chart with several Data ranges which need to be extended
as data is appended to a running list.

I wish to create a cell with the necessary elements to create the
source data reference indirectly.

Or a better way to do this easily....

Thanks


--

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








 
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
Paste a chart and get the source data to be from the new worksheet Excelfool Charts and Charting in Excel 5 August 25th 06 05:06 PM
Chart -- Source Data... -- Series dialog window Sarah Jane Charts and Charting in Excel 2 January 24th 06 10:27 AM
Pie chart source data ralphmhqa Charts and Charting in Excel 1 December 24th 05 02:11 PM
recovering chart source data from deleted files [email protected] Excel Discussion (Misc queries) 1 August 30th 05 12:53 AM
Using a relative SHEET reference for source data in a chart James Charts and Charting in Excel 6 August 16th 05 05:07 PM


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