+ Reply to Thread
Results 1 to 4 of 4

offset/dynamic chart

  1. #1
    Registered User
    Join Date
    03-25-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    20

    offset/dynamic chart

    Hi all,

    I have set up a named range as such: (name = "blah1")
    =OFFSET('F_5050 FP'!D1223,'F_5050 FP'!$B$2-1,0,'F_5050 FP'!$H$1,1)

    And it works, it selects the right range of values (a column of numbers).

    Then I create a new line chart, edit series, set series values to:
    ='F_5050 FP'!blah1

    (which is a range, right, so should work?)

    And I just get "a formula in this worksheet contains one or more invalid references"

    Thanks in advance

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,090

    Re: offset/dynamic chart

    I guess we'd need to know what was in the cells and and how they are structured.

    An thoughts on how you might do that?

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: offset/dynamic chart

    Hello,

    the offset formula contains a relative reference (the first one). This means that when the formula is evaluated, it will be relative to the current cursor position.

    Try making all references in the Offset formula absolute.

    =OFFSET('F_5050 FP'!$D$1223,'F_5050 FP'!$B$2-1,0,'F_5050 FP'!$H$1,1)

  4. #4
    Registered User
    Join Date
    03-25-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: offset/dynamic chart

    It was as simple as that - the relative reference. Thanks so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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