Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / July 2008

Tip: Looking for answers? Try searching our database.

Using INDIRECT in the SERIES function...possible?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arlen - 29 Jul 2008 23:15 GMT
Here is a static formula for the Series "Loads"

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

This only graphs what is on the Hypo page.  (By the way, why is the last
Hypo subbed with Collect.xls?)

I need instead to switch between 3 pages.  I tried the following:

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

and Excel simply says That is not a valid function.  The end.

Why doesn't this work?  Each individual piece returns the right information.  

I appreciate any help you got.  Have a great day!

Arlen
Jon Peltier - 30 Jul 2008 17:56 GMT
The references in a series formula have to reference ranges, not
calculations. Define names like this:

name
=INDIRECT("'"&$O$2&"'!$I$2")

xvals
=INDIRECT("'"& $O$2 &"'!Labels2")

yvals
=INDIRECT("'"& $O$2 &"'Loads2")

and make your series formula look like this:

=SERIES(Hypo!name,Hypo!xvals,Hypo!yvals,4)

The reason one of the Hypo references changes to Collect.xls is that the
reference that changed is to a name that is defined for the worksheet (its
name is Loads2), while the one that didn't change is defined for the sheet
Hypo (its name is Hypo!Labels2).

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

> Here is a static formula for the Series "Loads"
>
[quoted text clipped - 16 lines]
>
> Arlen
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.