+ Reply to Thread
Results 1 to 3 of 3

Dynamic name range missing from graphs after making copy of a worksheet

  1. #1
    Registered User
    Join Date
    07-05-2021
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    6

    Dynamic name range missing from graphs after making copy of a worksheet

    Hi Everyone,

    I would be glad if you can help me regarding this please.

    I have an Excel sheet in which I have graphs which use dynamic name ranges (these name ranges refer to the worksheet and not workbook). When I copy this Excel sheet, the dynamic name ranges copy to another sheet, however, they vanish from the graphs in the new sheet.

    For example, in the original sheet (called "Retirement"), one of the graphs uses the series value as =SERIES(Retirement!$CJ$3,Retirement!$AY$374:$AY$1014,Retirement!Asset1_AssetAllocation,1)

    Once I copy the worksheet to another sheet called "US House", the series value in the graph changes to =SERIES('US House'!$CJ$3,'US House'!$AY$374:$AY$1014,'US House'!$BA$414:$BA$1015,1)

    How can I retain the dynamic name range in the graphs in the sheet "US House"?

    Thanks in advance!

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Dynamic name range missing from graphs after making copy of a worksheet

    Suggest not copying the entire worksheet because it probably contains the data that the graph was based on, just the graph portion and paste it into a new worksheet. Leave the source data where it is.

    Let us know what happened.

    Pete

  3. #3
    Registered User
    Join Date
    07-05-2021
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Dynamic name range missing from graphs after making copy of a worksheet

    Thanks a lot Pete for you reply.

    You are right, if I only copy the graph to the other sheet, then the dynamic name range remains in the copied graph.

    However, this does not solve my problem. Because I want the graph which is copied to the new sheet to reference to data in the new sheet and not the old sheet.

    Just to be clear,

    1) I have data and graph in Sheet X. I have created dynamic name ranges which refers to data in Sheet X and which the graph uses.

    2) I make a copy of Sheet X - lets call it Sheet Y. When I do this, the dynamic name ranges in Sheet X also gets copied to Sheet Y. For instance, I have a dynamic name range in Sheet X which goes:

    Data_RetirementCorpus=INDEX(Sheet X!$CZ:$CZ,MATCH(Sheet X!$DE$10,Sheet X!$CZ:$CZ,0)):INDEX(Sheet X!$CZ:$CZ,MATCH(Sheet X!$DE$14,Sheet X!$CZ:$CZ,0))

    When I make a copy of Sheet X and name it Sheet Y, in Sheet Y, I again have a dynamic name range which goes like this,

    Data_RetirementCorpus=INDEX(Sheet Y!$CZ:$CZ,MATCH(Sheet Y!$DE$10,Sheet Y!$CZ:$CZ,0)):INDEX(Sheet Y!$CZ:$CZ,MATCH(Sheet Y!$DE$14,Sheet Y!$CZ:$CZ,0))

    3) However, from the graph in Sheet Y, the dynamic name range goes missing.

    I hope this clarifies.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA - Copy and paste dynamic range column from one worksheet to another
    By ChrisFoster1uk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2020, 09:22 AM
  2. Dynamic range graphs and tables
    By Alesek in forum Excel Charting & Pivots
    Replies: 15
    Last Post: 11-10-2017, 01:03 PM
  3. [SOLVED] Copy & Paste Dynamic Range to New Worksheet
    By spencerp237 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2017, 06:02 PM
  4. [SOLVED] Copy a dynamic range based on condition in new worksheet
    By StephenVerheul in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2013, 06:59 AM
  5. Making graphs dynamic
    By Mick Butler in forum Excel General
    Replies: 3
    Last Post: 03-30-2012, 04:50 AM
  6. Dynamic range not included in new worksheet's graphs
    By saved1ne in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-02-2012, 09:20 AM
  7. Data filters for making Dynamic Interactive error graphs
    By Aniruddha in forum Excel General
    Replies: 3
    Last Post: 10-28-2010, 06:44 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1