+ Reply to Thread
Results 1 to 3 of 3

Dynamic Range as Chart Data Source: Excel turns it into an absolute reference

  1. #1
    Registered User
    Join Date
    01-28-2007
    Location
    Reading, Berkshire, UK
    Posts
    26

    Dynamic Range as Chart Data Source: Excel turns it into an absolute reference

    Hi all,

    I've set up a dynamic named range called 'Res_Code_Chart_Data', using an Offset formula: "=OFFSET(Incidents!$U$43,0,0,COUNTA(Incidents!$U$43:$U$53),2)"

    The range grows and shrinks dynamically as expected when I add and remove data. I want to use the range as the data source for a chart. But, when I enter a reference to the named range as the Chart Data Source "=Incidents!Res_Code_Chart_Data", Excel immediately resolves the reference to the absolute reference 'Incidents!$U$43:$U$52". After that, when data is added or removed and the named range grows or shrinks, the chart continues to only pull data from the absolute ref the named range represented when originally created.

    Any advice on this issue, much appreciated. I'm using Excel 2010.

    Jamsta.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,617

    Re: Dynamic Range as Chart Data Source: Excel turns it into an absolute reference

    Have you tried to use two separate names for x avis and value axis and use it in series definition:

    'Res_Code_Chart_X', using an Offset formula: "=OFFSET(Incidents!$U$43,0,0,COUNTA(Incidents!$U$43:$U$53),1)"
    and
    'Res_Code_Chart_Y', using an Offset formula: "=OFFSET(Incidents!$U$43,0,1,COUNTA(Incidents!$U$43:$U$53),1)"
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    01-28-2007
    Location
    Reading, Berkshire, UK
    Posts
    26

    Re: Dynamic Range as Chart Data Source: Excel turns it into an absolute reference

    Hi Kaper,

    Thanks for your reply. I hadn't tried that but I tried just now. Initially I got the same results, so my references to 'Res_Code_Chart_X' and 'Res_Code_Chart_Y' in the Chart Data Source were converted to absolute references.

    But, I had been working with calculations set to manual. I tried again with them set to automatic, and this time is seemed to work OK, ie the references to the named ranges were retained in the Chart Data Source.

    However... when I save the workbook and then reopen it, the references mysteriously revert to the absolute cell refs again. I'm completely mystified!

+ 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. Using INDIRECT to put a Dynamic Named Range in a chart Data Source
    By mgaworecki in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-01-2012, 07:35 AM
  2. Dynamic Range for Chart Source data
    By vlad23 in forum Excel General
    Replies: 25
    Last Post: 06-26-2012, 04:06 PM
  3. Replies: 4
    Last Post: 06-25-2012, 03:25 PM
  4. dynamic named range in chart becomes absolute
    By the666bbq in forum Excel General
    Replies: 2
    Last Post: 03-11-2011, 11:07 AM
  5. How to avoid when linked source data is changed, chart turns blan.
    By Chris S (Belgium) in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-09-2006, 09:15 AM

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