Consulting

Results 1 to 3 of 3

Thread: Solved: Offset Function

  1. #1
    VBAX Contributor
    Joined
    Jan 2008
    Posts
    104
    Location

    Solved: Offset Function

    Need some help generating some named ranges with the OFFSET function. I have a data table that needs to define names. I need to define the OFFSET ranges A4:A500, B4:B500, C4:C500, D, and E. What I need is to make a dynamic chart and use these defined ranges names to make the chart dynamic.
    I attached a sample work book.
    Any input is in advance appreciated

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    This is what you need for column A name

    =OFFSET(Sheet1!$A$4,,,COUNTA(Sheet1!$A:$A)-COUNTA(Sheet1!$A$1:$A$3),1)

    adjust the others to suit.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Contributor
    Joined
    Jan 2008
    Posts
    104
    Location
    Thanks Xld, works very well.

Posting Permissions

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