+ Reply to Thread
Results 1 to 5 of 5

Dynamic Range limit

  1. #1
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Dynamic Range limit

    I would like to be able to create a named range that allows the user to move the data.

    Example:
    I have a heading in D3 with data below it extending to D10.

    I normally define a name with RefersTo: =Offset($D$3,1,0,Counta($D:$D)-1,1)

    But when the user moves the range D3:D10 to E3:E10 the named range becomes RefersTo:= Offset($E$3,1,0,Counta($D:$D)-1,1)
    Last edited by foxguy; 12-08-2010 at 06:03 PM.
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Dynamic Range limit

    Hi,

    How about

    Please Login or Register  to view this content.
    change the 1000 row ref as necessary.

    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Dynamic Range limit

    Hi Richard;

    Doesn't work.

    When the user moves the range D3:D10 to E3:E10 the name then ReferTo: = Offset($E$3,1,0,Counta($D4:$D1000),1)

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Dynamic Range limit

    Hi,

    OK how about..
    1. Name the cell D4 say 'top'
    2. Now create the dynamic range name with..
    Please Login or Register  to view this content.
    Rgds

  5. #5
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Dynamic Range limit

    Hi Richard;

    Good idea. Can't say I'm thrilled with the idea of having to create 2 names for the same location, but it does sound like it would work. I think it's about time I created a macro that will create the names for me.

    Thanks

+ 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