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  

Copying Named Ranges in Chart Series



 
 
Thread Tools Display Modes
  #1  
Old March 15th, 2010, 07:26 PM posted to microsoft.public.excel.charting
Revolvr
external usenet poster
 
Posts: 1
Default Copying Named Ranges in Chart Series

I have a workbook with a tab that has charts and data. Because the
number of data points can vary month to month, I have set up the chart
to reference named ranges. The named ranges are columns that vary in
length, defined by language like this:

"yvals"=OFFSET('MainSheet'!$B$2,0,0,COUNTIF('MainS heet'!$B$2:$B
$20,"0"),1)

"xvals"=OFFSET('MainSheet'!$A$2,0,0,COUNTA('MainSh eet'!$A$2:$A$20),1)

The X and Y series use the named ranges. If I add or remove data the
chart range automatically changes accordingly. These named ranges have
a scope that is only within the sheet, not a workbook scope.

What I want to do is be able to copy the worksheet and duplicate it.
Each month I get new data, so I copy the worksheet and modify the new
worksheet.

What I find is that when I copy the sheet (in Excel 2007), the new
chart has replaced the named ranges with absolute cell references. But
the names on the sheet do copy over correctly.

How can I do this where the new chart retains the named ranges? I
don’t want to manually re-create the chart series each time (I have a
lot of charts).

Thanks
  #2  
Old March 18th, 2010, 01:21 PM posted to microsoft.public.excel.charting
Jon Peltier[_2_]
external usenet poster
 
Posts: 386
Default Copying Named Ranges in Chart Series

Save the sheet as its own workbook. When you need a copy of it, open
this workbook, and MOVE the sheet into the workbook.

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/


On 3/15/2010 2:26 PM, Revolvr wrote:
I have a workbook with a tab that has charts and data. Because the
number of data points can vary month to month, I have set up the chart
to reference named ranges. The named ranges are columns that vary in
length, defined by language like this:

"yvals"=OFFSET('MainSheet'!$B$2,0,0,COUNTIF('MainS heet'!$B$2:$B
$20,"0"),1)

"xvals"=OFFSET('MainSheet'!$A$2,0,0,COUNTA('MainSh eet'!$A$2:$A$20),1)

The X and Y series use the named ranges. If I add or remove data the
chart range automatically changes accordingly. These named ranges have
a scope that is only within the sheet, not a workbook scope.

What I want to do is be able to copy the worksheet and duplicate it.
Each month I get new data, so I copy the worksheet and modify the new
worksheet.

What I find is that when I copy the sheet (in Excel 2007), the new
chart has replaced the named ranges with absolute cell references. But
the names on the sheet do copy over correctly.

How can I do this where the new chart retains the named ranges? I
don’t want to manually re-create the chart series each time (I have a
lot of charts).

Thanks

 




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 05:15 PM.


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