Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 86
Default Change sheet names for charts on the fly

Hello, Everyone!

The following is a static formula that charts data from the Hypo! sheet.

=SERIES(Hypo!$I$2,Hypo!Labels2,Hypo!Loads2,4)

I need to replace Hypo with the name of the sheet the user selects. I tried:

=SERIES(INDIRECT("'"& $O$2 &"'!$I$2"),INDIRECT("'"& $O$2
&"'!Labels2"),INDIRECT("'"& $O$2 &"'Loads2"),4)

but Microsoft says "That function is not valid." Is this a syntax issue, or
can you not use INDIRECT with SERIES?

Any help would be appreciated.

Have a great day.

Arlen
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 169
Default Change sheet names for charts on the fly

Try adding a worksheet named chart data, reference the Chart to the data
table there, and then use INDIRECT to modify the referenced chart data on the
fly
--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"Arlen" wrote:

Hello, Everyone!

The following is a static formula that charts data from the Hypo! sheet.

=SERIES(Hypo!$I$2,Hypo!Labels2,Hypo!Loads2,4)

I need to replace Hypo with the name of the sheet the user selects. I tried:

=SERIES(INDIRECT("'"& $O$2 &"'!$I$2"),INDIRECT("'"& $O$2
&"'!Labels2"),INDIRECT("'"& $O$2 &"'Loads2"),4)

but Microsoft says "That function is not valid." Is this a syntax issue, or
can you not use INDIRECT with SERIES?

Any help would be appreciated.

Have a great day.

Arlen

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 189
Default Change sheet names for charts on the fly

This might help you if i have got your problem right.

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
--
Thanks
Suleman Peerzade


"Arlen" wrote:

Hello, Everyone!

The following is a static formula that charts data from the Hypo! sheet.

=SERIES(Hypo!$I$2,Hypo!Labels2,Hypo!Loads2,4)

I need to replace Hypo with the name of the sheet the user selects. I tried:

=SERIES(INDIRECT("'"& $O$2 &"'!$I$2"),INDIRECT("'"& $O$2
&"'!Labels2"),INDIRECT("'"& $O$2 &"'Loads2"),4)

but Microsoft says "That function is not valid." Is this a syntax issue, or
can you not use INDIRECT with SERIES?

Any help would be appreciated.

Have a great day.

Arlen

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
How to change sheet names via formula Arlen Excel Discussion (Misc queries) 3 July 28th 08 06:57 PM
Cell names = sheet names Vince Excel Worksheet Functions 9 February 8th 08 03:59 PM
Named sheet to change Cells names Skrapik New Users to Excel 3 August 11th 07 04:46 AM
how to change font size of datalabels of two charts in a sheet amrezzat Charts and Charting in Excel 1 May 9th 06 01:04 AM
Range Names with Charts ArthurJ Charts and Charting in Excel 3 June 6th 05 06:49 PM


All times are GMT +1. The time now is 05:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"