A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Series Named Range Problem



 
 
Thread Tools Display Modes
  #1  
Old July 3rd, 2007, 03:42 PM posted to microsoft.public.excel.charting
ARTURO
external usenet poster
 
Posts: 163
Default Series Named Range Problem

I have a chart built correctly and have set all the components to named
ranges I intend to adjust via code based on differing record counts filling
the sheet. The code will adjust the size of these named ranges based on the
number of those records.

Here’s Series1 cell references;
=SERIES(Sheet5!$C$5,Sheet5!$B$6:$B$20,Sheet5!$C$6: $C$20,1)

When I select this first series and alter it as follows, I get a warning:
“A formula in this workbook contains one or more invalid references. Verify
that your formal contains a valid path, workbook, range name and cell
reference.
=SERIES(Field_StartDate,XAxis_Lables,Values_StartD ate,1)

When I preface each named range Sheet5! The formula works but results in this:
=SERIES('Gantt Layout 2007.07.03.xls'!Field_StartDate,'Gantt Layout
2007.07.03.xls'!XAxis_Lables,'Gantt Layout 2007.07.03.xls'!Values_StartDate,1)

The goal I am trying to achieve is a cleaner Series formula not a messier one…

I am perplexed as to why this approach is proving problematic and how to
resolve this.

Any advice welcome…

Appreciatively,
Arturo
  #2  
Old July 3rd, 2007, 09:31 PM posted to microsoft.public.excel.charting
Jon Peltier
external usenet poster
 
Posts: 5,018
Default Series Named Range Problem

You can't make a formula cleaner if it makes the formula invalid. I can't
tidy up 1+1=2 by removing that awkward plus sign, can I? If the Name is
defined for the workbook at large, its official name has the workbook name
attached, as Excel rewrites it for you. Fortunately Excel allows you to
enter it with the worksheet name instead. But you need some reference to a
sheet or workbook where the Name is located.

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


"Arturo" wrote in message
...
I have a chart built correctly and have set all the components to named
ranges I intend to adjust via code based on differing record counts
filling
the sheet. The code will adjust the size of these named ranges based on
the
number of those records.

Here's Series1 cell references;
=SERIES(Sheet5!$C$5,Sheet5!$B$6:$B$20,Sheet5!$C$6: $C$20,1)

When I select this first series and alter it as follows, I get a warning:
"A formula in this workbook contains one or more invalid references.
Verify
that your formal contains a valid path, workbook, range name and cell
reference.
=SERIES(Field_StartDate,XAxis_Lables,Values_StartD ate,1)

When I preface each named range Sheet5! The formula works but results in
this:
=SERIES('Gantt Layout 2007.07.03.xls'!Field_StartDate,'Gantt Layout
2007.07.03.xls'!XAxis_Lables,'Gantt Layout
2007.07.03.xls'!Values_StartDate,1)

The goal I am trying to achieve is a cleaner Series formula not a messier
one.

I am perplexed as to why this approach is proving problematic and how to
resolve this.

Any advice welcome.

Appreciatively,
Arturo



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:38 AM.


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