+ Reply to Thread
Results 1 to 7 of 7

Dynamic list with Offset and indirect

Hybrid View

  1. #1
    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
    48,440

    Re: Dynamic list with Offset and indirect

    Try this to create your Dynamic Named Range:

    In the instance, the DNR, nrList is defined as:
    Formula: copy to clipboard
    =Sheet2!$A$2:INDEX(Sheet2!$A:$A,MAX(MATCH(REPT("z",26),Sheet2!$A:$A,1),MATCH(9.999+35,Sheet2!$A:$A,1)))



    A
    B
    C
    D
    E
    1
    List (with spaces)
    2
    a
    f
    =INDEX($A:$A,MATCH(REPT("z",26),$A:$A,1))
    3
    b
    3
    =INDEX($A:$A,MATCH(9.999+35,$A:$A,1))
    4
    c
    f
    =INDEX($A:$A,MAX(MATCH(REPT("z",26),$A:$A,1),MATCH(9.999+35,$A:$A,1)))
    5
    nrList
    =Sheet2!$A$2:INDEX(Sheet2!$A:$A,MAX(MATCH(REPT("z",26),Sheet2!$A:$A,1),MATCH(9.999+35,Sheet2!$A:$A,1)))
    6
    1
    6
    =SUM(nrList)
    7
    2
    8
    3
    9
    10
    d
    11
    e
    12
    f
    13



    Regards, TMS
    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


  2. #2
    Registered User
    Join Date
    02-08-2016
    Location
    Northumberland, England
    MS-Off Ver
    Office 13
    Posts
    3

    Re: Dynamic list with Offset and indirect

    Thanks TMS,

    Unfortunately that didnt work. When I altered the details to match the cells the data should pull from i get "You may not use reference operators (such as unions, intersections, and ranges) or array constants for data validation criteria" error message

  3. #3
    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
    48,440

    Re: Dynamic list with Offset and indirect

    Forgot, unique entries, excluding spaces, Array Formula:

    Formula: copy to clipboard
    =IFERROR(INDEX($A$2:$A$100, MATCH(0, IF(ISBLANK($A$2:$A$100), 1, COUNTIF(B1:$B$1, $A$2:$A$100)), 0)),"")
    committed with Ctrl-Shift-Enter rather than just Enter

  4. #4
    Registered User
    Join Date
    02-08-2016
    Location
    Northumberland, England
    MS-Off Ver
    Office 13
    Posts
    3
    Sorry, i dont think i made myself clear. im using data validation to create my lists.

+ 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. Indirect search criteria to dynamic list
    By T86157 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-23-2015, 12:29 PM
  2. Offset and Indirect with Dynamic Named Ranges
    By nickmangan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-07-2014, 10:42 PM
  3. Indirect Vlookup List and Dynamic Named Ranges - Is there a workaround
    By Jennasis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-13-2013, 06:57 AM
  4. [SOLVED] OFFSET formula for a Dynamic list
    By JO505 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-10-2013, 05:11 PM
  5. dynamic list using offset and indirect
    By ncarrocino in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-07-2013, 05:11 PM
  6. Using LEFT with OFFSET to get a dynamic drop down list
    By alcopoppa in forum Excel General
    Replies: 6
    Last Post: 01-20-2012, 08:53 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