+ Reply to Thread
Results 1 to 3 of 3

how to keep a range relevant

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-21-2009
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    200

    how to keep a range relevant

    I've attached a picture in case that explains this better.

    I have a summary in A1:D50 and then a lot more information in A60:Z500.

    I'm dealing with stores and all the relevant data that comes with it. So in the Summary each store is just mentioned once. In the rest of the data each store shows up multiple times, maybe like 3-5 times.

    The problem is that the number of stores and the size of the data set keeps changing. So right now the Summary range is A1:D50 in the future it could be A1:D70 or something.

    I have a bunch of other tabs that link to this range. When this range is modified it's spoiling the results in those other tabs.

    Is there a fix for this?
    Attached Images Attached Images

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,480

    Re: how to keep a range relevant

    You probably need a dynamic named range and use that in the formulae elsewhere that reference it.

    There's a good tutorial here: http://www.contextures.com/xlNames01.html

    By the way, it is usually better to attach a workbook rather than an image.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    06-21-2009
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    200

    Re: how to keep a range relevant

    Thanks AliGW.

    It seems the solution is to select the entire range, name it, then enter this formula in the refers to section: =OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!$A:$A),1)

    I notice it says A:A. Does this mean I cant put anything in col A after a few blank rows? I cant be sure I'll never use a certain column again.

    EDIT - I tried this. I'm assuming the first 0 is the number of rows and the second is the number of columns. But when I created this, although it showed up in Name Manager, it didn't show up in the Name Shortcut thing at the top left, just left of the formula bar. So I cant seem to test whether this is even looking at the right place. When I goto Name Manager I cant seem to direct it to highlight the correct range.

    And for some reason Name Manager seems to have hundreds of entries. None of them show up in the Name Box / Shortcut. In Name Manager the first 3 entries are "\A" (without the quotes). Then there's \C three times. What gives?
    Last edited by zazzz; 07-26-2016 at 04:06 PM.

+ 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. Vlookup for text and add relevant values if text matches in the range
    By misys.til in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-19-2014, 06:11 AM
  2. Dialogue box to search date range of table column, copy relevant rows to report sheet
    By Tim Newton in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-26-2013, 03:10 AM
  3. putting all relevant lines together
    By zazzz in forum Excel General
    Replies: 2
    Last Post: 10-10-2012, 03:11 PM
  4. Relevant Quarter
    By Kolacube in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-17-2008, 09:23 AM
  5. Identify if value is relevant and copy twice
    By Crouie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-06-2008, 07:06 PM
  6. Time range to workdays in relevant months
    By Lukino in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-13-2006, 02:45 AM
  7. [SOLVED] If you feel that this bug is relevant you can pay me rewards....
    By Potential Excel Security breach in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2005, 11:05 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