Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Question regarding "INDIRECT" and Charts

I have a spreadsheet with a single worksheet which is updated
monthly with data. The spreadsheet also contains multiple charts
based upon the data of that "raw data" sheet.

One "set" of charts represents a block of 6 months of comparative
data. Another a set of 12 month data. Unfortunately as it now
stands I am required to edit each of the charts to alter the "starting"
and "ending" points for the plotting of the data points. I do this by
right-clicking on the chart and choosing "Source Data" and then the
"Series" tab. Then, on that tab I can modify each of the settings for
"Values" and "Category (X) axis labels."

Examples of these would be (last month & this month) :

='Raw Data'!$V$3:$AI$3 ----- ='Raw Data'!$W$3:$AJ$3
='Raw Data''!$V$7:$AI$7 ----- ='Raw Data'!$W$3:$AJ$3
='Raw Data'!$V$9:$AI$9 ----- ='Raw Data'!$W$3:$AJ$3

which is repeated throughout a whole set of charts. My work load
would be significantly eased *IF* I could use the Excel INDIRECT
function which would seem to be perfect for the task. Unfortunately
every way I've tried to insert it in has resulted in Excel spitting back
an error message.

I've tried something like:
='Raw Data'!$INDIRECT('Raw Data'!$A$1)&3: ( assume a
continues line) $INDIRECT('Raw Data'!$A$2)&3
where 'Raw Data'!$A$1 = "V" and 'Raw Data'!$A$2 = "AI" but
Excel (2003) refuses to allow that.

Ideas and/or suggestions on how I might use INDIRECT to make
my work easier?

Many thanks in advance and a carton of virtual Oreo cookies too.

David


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Question regarding "INDIRECT" and Charts

Assume I will put my range address in cell B9 without the sheet name.

put in W3:AJ3
in Cell B9 of 'Raw Data' as an example

So I want to create a defined name to utilize that information


Insert= Name= Create

Name: Source1
Refersto: "=Indirect("'Raw Data'!" & 'Raw Data'!$B$9")


in the chart, instead of
='Raw Data'!$W$3:$AJ$3

put in
='My WorkbookName'!Source1

Create similar defined names for other ranges.

--
Regards,
Tom Ogilvy

"David F. Schrader" wrote in message
...
I have a spreadsheet with a single worksheet which is updated
monthly with data. The spreadsheet also contains multiple charts
based upon the data of that "raw data" sheet.

One "set" of charts represents a block of 6 months of comparative
data. Another a set of 12 month data. Unfortunately as it now
stands I am required to edit each of the charts to alter the "starting"
and "ending" points for the plotting of the data points. I do this by
right-clicking on the chart and choosing "Source Data" and then the
"Series" tab. Then, on that tab I can modify each of the settings for
"Values" and "Category (X) axis labels."

Examples of these would be (last month & this month) :

='Raw Data'!$V$3:$AI$3 ----- ='Raw Data'!$W$3:$AJ$3
='Raw Data''!$V$7:$AI$7 ----- ='Raw Data'!$W$3:$AJ$3
='Raw Data'!$V$9:$AI$9 ----- ='Raw Data'!$W$3:$AJ$3

which is repeated throughout a whole set of charts. My work load
would be significantly eased *IF* I could use the Excel INDIRECT
function which would seem to be perfect for the task. Unfortunately
every way I've tried to insert it in has resulted in Excel spitting back
an error message.

I've tried something like:
='Raw Data'!$INDIRECT('Raw Data'!$A$1)&3: ( assume a
continues line) $INDIRECT('Raw Data'!$A$2)&3
where 'Raw Data'!$A$1 = "V" and 'Raw Data'!$A$2 = "AI" but
Excel (2003) refuses to allow that.

Ideas and/or suggestions on how I might use INDIRECT to make
my work easier?

Many thanks in advance and a carton of virtual Oreo cookies too.

David




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
Can I make a "tab name" the "chart title"? (question on this) [email protected] Charts and Charting in Excel 2 April 15th 09 06:26 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
INDEX("a"&COLUMNS(INDIRECT(A1):INDIRECT(A2)):A30,4) Dave F[_2_] Excel Discussion (Misc queries) 3 September 20th 07 08:36 PM
"Disk is Full" add-on question to "Can't reset last cell" post tod [email protected] Excel Discussion (Misc queries) 0 January 22nd 07 02:32 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


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