Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 30
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   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 461
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

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
Copying Worksheets which contain Named Ranges Terry Bennett Excel Worksheet Functions 0 June 25th 09 05:04 PM
Stop named ranges from copying into other workbooks Mike Excel Worksheet Functions 1 April 2nd 08 04:23 PM
show/hide multiple series using named ranges goofy11 Charts and Charting in Excel 1 December 8th 07 07:39 PM
Using a series of named ranges in SUMPRODUCT JzP Excel Worksheet Functions 7 June 18th 07 05:29 PM
Copying Named Ranges Tom Perlman Excel Discussion (Misc queries) 4 December 14th 06 07:34 PM


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