Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Dynamic Charts between Files

Hi,

I've been working with dynamic named ranges, charts and pivot tables.
They seem to work fine, as long as the source and chart are in the same
file. When they are in different files, I'm getting "Your formula
contains invalid external reference to a worksheet".

The data is horizontal, a la "Jan Feb Mar" with me adding new columns
to the right and capturing the last 12 mths.

When I have the ranges defined in the source file, I can click in the
Refers to field and it puts the marquee around the correct range. I can
also hit <F5 and put the range name in there and the correct range
gets selected.

However, when I click the series in the chart and try to put the range
names into the series formula, I get the error above.

The original series formula is
=SERIES('[05-CSAT-Tracker.xls]FIN_Months'!$AI$7:$AT$7,'[05-CSAT-Tracker.xls]FIN_Months'!$AI$7:$AT$7,'[05-CSAT-Tracker.xls]FIN_Months'!$AI$8:$AT$8,1)

The named ranges look like:
Name: Months_RecCallOverallLabels:
Refers to:
=OFFSET(FIN_Months!$AA$7,0,COUNTA(FIN_Months!$AB$7 :$IV$7)-11,1,12)

Name: Months_RecCallOverallBot:
Refers to:
=OFFSET(FIN_Months!$AA$7,1,COUNTA(FIN_Months!$AB$7 :$IV$7)-11,1,12)

With the range names, it looks like:
=SERIES(Months_RecCallOverallLabels,Months_RecCall OverallLabels,Months_RecCallOverallBot,1)

I've tried it with and without replacing the name_ref argument.

I've tried it without the file references (although it escapes me how
they would find each other without that).

I've even tried defining the named ranged in the target file, hoping
the file name would allow that to work. Argh.

What am I missing?

Thanks!
Neva

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Dynamic Charts between Files

You're missing the parent of the name. The name needs to be referenced with
a sheet or workbook name. Something like this:

=SERIES('[05-CSAT-Tracker.xls]'!Months_RecCallOverallLabels,'[05-CSAT-Tracker.xls]'!Months_RecCallOverallLabels,'[05-CSAT-Tracker.xls]'!Months_RecCallOverallBot,1)

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


wrote in message
oups.com...
Hi,

I've been working with dynamic named ranges, charts and pivot tables.
They seem to work fine, as long as the source and chart are in the same
file. When they are in different files, I'm getting "Your formula
contains invalid external reference to a worksheet".

The data is horizontal, a la "Jan Feb Mar" with me adding new columns
to the right and capturing the last 12 mths.

When I have the ranges defined in the source file, I can click in the
Refers to field and it puts the marquee around the correct range. I can
also hit <F5 and put the range name in there and the correct range
gets selected.

However, when I click the series in the chart and try to put the range
names into the series formula, I get the error above.

The original series formula is
=SERIES('[05-CSAT-Tracker.xls]FIN_Months'!$AI$7:$AT$7,'[05-CSAT-Tracker.xls]FIN_Months'!$AI$7:$AT$7,'[05-CSAT-Tracker.xls]FIN_Months'!$AI$8:$AT$8,1)

The named ranges look like:
Name: Months_RecCallOverallLabels:
Refers to:
=OFFSET(FIN_Months!$AA$7,0,COUNTA(FIN_Months!$AB$7 :$IV$7)-11,1,12)

Name: Months_RecCallOverallBot:
Refers to:
=OFFSET(FIN_Months!$AA$7,1,COUNTA(FIN_Months!$AB$7 :$IV$7)-11,1,12)

With the range names, it looks like:
=SERIES(Months_RecCallOverallLabels,Months_RecCall OverallLabels,Months_RecCallOverallBot,1)

I've tried it with and without replacing the name_ref argument.

I've tried it without the file references (although it escapes me how
they would find each other without that).

I've even tried defining the named ranged in the target file, hoping
the file name would allow that to work. Argh.

What am I missing?

Thanks!
Neva



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Dynamic Charts between Files

OK, Jon,

I hope you don't mind a few details, because I know I'm just missing
something minor.

I've got the range names created in the file containing the charts,
"ch_RecentCall(Fin).xls".
The ranges "Refers To" look like:
=OFFSET('[05-CSAT-Tracker.xls]FIN_Months'!$AA$7,0,COUNTA('[05-CSAT-Tracker.xls]FIN_Months'!$AB$7:$IV$7)-11,1,12)

When I try to put that in the chart series formula, I get the "invalid
external reference to a worksheet" message.

The series formula looks like this when it fails:
=SERIES(Months_RecCallOverallLabels,Months_RecCall OverallLabels,Months_RecCallOverallBot,1)

I also tried it without the range name in the name_ref argument.

Neva

Jon Peltier wrote:
You're missing the parent of the name. The name needs to be referenced with
a sheet or workbook name. Something like this:

=SERIES('[05-CSAT-Tracker.xls]'!Months_RecCallOverallLabels,'[05-CSAT-Tracker.xls]'!Months_RecCallOverallLabels,'[05-CSAT-Tracker.xls]'!Months_RecCallOverallBot,1)

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


wrote in message
oups.com...
Hi,

I've been working with dynamic named ranges, charts and pivot tables.
They seem to work fine, as long as the source and chart are in the same
file. When they are in different files, I'm getting "Your formula
contains invalid external reference to a worksheet".

The data is horizontal, a la "Jan Feb Mar" with me adding new columns
to the right and capturing the last 12 mths.

When I have the ranges defined in the source file, I can click in the
Refers to field and it puts the marquee around the correct range. I can
also hit <F5 and put the range name in there and the correct range
gets selected.

However, when I click the series in the chart and try to put the range
names into the series formula, I get the error above.

The original series formula is
=SERIES('[05-CSAT-Tracker.xls]FIN_Months'!$AI$7:$AT$7,'[05-CSAT-Tracker.xls]FIN_Months'!$AI$7:$AT$7,'[05-CSAT-Tracker.xls]FIN_Months'!$AI$8:$AT$8,1)

The named ranges look like:
Name: Months_RecCallOverallLabels:
Refers to:
=OFFSET(FIN_Months!$AA$7,0,COUNTA(FIN_Months!$AB$7 :$IV$7)-11,1,12)

Name: Months_RecCallOverallBot:
Refers to:
=OFFSET(FIN_Months!$AA$7,1,COUNTA(FIN_Months!$AB$7 :$IV$7)-11,1,12)

With the range names, it looks like:
=SERIES(Months_RecCallOverallLabels,Months_RecCall OverallLabels,Months_RecCallOverallBot,1)

I've tried it with and without replacing the name_ref argument.

I've tried it without the file references (although it escapes me how
they would find each other without that).

I've even tried defining the named ranged in the target file, hoping
the file name would allow that to work. Argh.

What am I missing?

Thanks!
Neva


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Dynamic Charts between Files

In case it's useful to anybody else, I'm going to outline my actual
steps to get it to work:

I had to
1. construct the range names without any file/sheet references at all
(and yes, in the chart file)
2. Modify the formula from
=SERIES('[05-CSAT-Tracker.xls]FIN_Months'!$AI$7:$AT$7,'[05-CSAT-Tracker.xls]FIN_Months'!$AI$7:$AT$7,'[05-CSAT-Tracker.xls]FIN_Months'!$AI$9:$AT$9,1)


to

=SERIES('[05-CSAT-Tracker.xls]FIN_Months'!Months_RecCallOverallLabels,'[05-CSAT-Tracker.xls]FIN_Months'!Months_RecCallOverallLabels,'[05-CSAT-Tracker.xls]FIN_Months'!Months_RecCallOverallMid,1)


(So both file/sheet references are explicit in the series formula)

BUT

when I hit <enter, it no longer looks like that! Instead, it reads as:
=SERIES('[05-CSAT-Tracker.xls]'!Months_RecCallOverallLabels,'[05-CSAT-Tracker.xls]'!Months_RecCallOverallLabels,'[05-CSAT-Tracker.xls]'!Months_RecCallOverallMid,1)

That was challenging!

wrote:
OK, Jon,

I hope you don't mind a few details, because I know I'm just missing
something minor.

I've got the range names created in the file containing the charts,
"ch_RecentCall(Fin).xls".
The ranges "Refers To" look like:
=OFFSET('[05-CSAT-Tracker.xls]FIN_Months'!$AA$7,0,COUNTA('[05-CSAT-Tracker.xls]FIN_Months'!$AB$7:$IV$7)-11,1,12)

When I try to put that in the chart series formula, I get the "invalid
external reference to a worksheet" message.

The series formula looks like this when it fails:
=SERIES(Months_RecCallOverallLabels,Months_RecCall OverallLabels,Months_RecCallOverallBot,1)

I also tried it without the range name in the name_ref argument.

Neva

Jon Peltier wrote:
You're missing the parent of the name. The name needs to be referenced with
a sheet or workbook name. Something like this:

=SERIES('[05-CSAT-Tracker.xls]'!Months_RecCallOverallLabels,'[05-CSAT-Tracker.xls]'!Months_RecCallOverallLabels,'[05-CSAT-Tracker.xls]'!Months_RecCallOverallBot,1)

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


wrote in message
oups.com...
Hi,

I've been working with dynamic named ranges, charts and pivot tables.
They seem to work fine, as long as the source and chart are in the same
file. When they are in different files, I'm getting "Your formula
contains invalid external reference to a worksheet".

The data is horizontal, a la "Jan Feb Mar" with me adding new columns
to the right and capturing the last 12 mths.

When I have the ranges defined in the source file, I can click in the
Refers to field and it puts the marquee around the correct range. I can
also hit <F5 and put the range name in there and the correct range
gets selected.

However, when I click the series in the chart and try to put the range
names into the series formula, I get the error above.

The original series formula is
=SERIES('[05-CSAT-Tracker.xls]FIN_Months'!$AI$7:$AT$7,'[05-CSAT-Tracker.xls]FIN_Months'!$AI$7:$AT$7,'[05-CSAT-Tracker.xls]FIN_Months'!$AI$8:$AT$8,1)

The named ranges look like:
Name: Months_RecCallOverallLabels:
Refers to:
=OFFSET(FIN_Months!$AA$7,0,COUNTA(FIN_Months!$AB$7 :$IV$7)-11,1,12)

Name: Months_RecCallOverallBot:
Refers to:
=OFFSET(FIN_Months!$AA$7,1,COUNTA(FIN_Months!$AB$7 :$IV$7)-11,1,12)

With the range names, it looks like:
=SERIES(Months_RecCallOverallLabels,Months_RecCall OverallLabels,Months_RecCallOverallBot,1)

I've tried it with and without replacing the name_ref argument.

I've tried it without the file references (although it escapes me how
they would find each other without that).

I've even tried defining the named ranged in the target file, hoping
the file name would allow that to work. Argh.

What am I missing?

Thanks!
Neva


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
dynamic charts [email protected] Charts and Charting in Excel 4 August 27th 08 06:10 PM
Dynamic Charts Larisa Charts and Charting in Excel 2 May 8th 08 10:31 PM
Dynamic Charts [email protected] Excel Discussion (Misc queries) 1 September 20th 07 04:22 AM
Make dynamic charts more dynamic Milo Charts and Charting in Excel 1 April 12th 06 09:01 AM
Can I post dynamic line charts by swapping out .cvs files??? red_1953 Charts and Charting in Excel 4 February 6th 05 03:33 PM


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