+ Reply to Thread
Results 1 to 6 of 6

Dynamic List using INDEX MATCH and maybe OFFSET function

  1. #1
    Forum Contributor
    Join Date
    01-12-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2016
    Posts
    152

    Dynamic List using INDEX MATCH and maybe OFFSET function

    Hi guys,

    I have another issue I am unable to resolve.

    Spreadsheet attached. I need to be able to create a dynamic list based on matching data on 2 tables.

    So, if the nominal I.D of product 1,2,3,4,5,etc matches the nominal I.D of product a,b,c,d,e, etc, add it to the options column (D:L) in product 1's table. I can get it to match using INDEX MATCH on the first option cell, but I'm struggling to find a way for it to match the next value in the list automatically so that when they list get's updated it dynamically changes.

    From there I want to create a data validation list of all options matching the chosen product (product 1,2,3,4,5,etc)

    Hope you can help, apprecate any help as always

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Dynamic List using INDEX MATCH and maybe OFFSET function

    Please remember that your thread titles should describe your problem, not your anticipated solution.

    Try this in Pipework D3, fill right and down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Your data validation request makes no sense, there are no options for product 1, 2, 3, etc. each of them only appears once. Assuming that you want the options for products a, b, c, etc. instead, then you could use something like
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    You would need to change "Product C" to a reference point of interest. This will leave blank spaces at the end of the list, which could be removed by using offset instead of index. This is something that I try to avoid using unless it is strictly necessary.

  3. #3
    Forum Contributor
    Join Date
    01-12-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2016
    Posts
    152

    Re: Dynamic List using INDEX MATCH and maybe OFFSET function

    Hi Jason.b75,

    OK, taken on board, sorry, still learning the ropes on the rules!

    The first equation is perfect, thank you very much for that.

    I am getting an error on the data validation though, it thinks it's not a formula?

    Much appreciated

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Dynamic List using INDEX MATCH and maybe OFFSET function

    Oops!

    I forgot that you can't use table names in data validation, there is a workaround though.

    You can create a named range that refers to the formula, then use the named range to generate the validation list, for example.

    Create a new named range by going to Formulas > Name Manager > New.
    In the Name box, enter DV_List
    In the Refers To box, enter the second formula from post 2.

    Then create your data validation list by using =DV_List as the list source.

  5. #5
    Forum Contributor
    Join Date
    01-12-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2016
    Posts
    152

    Re: Dynamic List using INDEX MATCH and maybe OFFSET function

    Hi Jason.b75,


    Thanks very much, that worked a treat!

    Now, just before we finish off, I've been able to use the same formula in a similar way somewhere else.

    The only problem I have is with the first part of the formula which generates the list in which I can use to create a dropdown.

    =IF(Tablepipework[@[Nominal I.D]:[Nominal I.D]]="","",IFERROR(INDEX(TableInsulation[[Name]:[Name]],AGGREGATE(15,6,(ROW(TableInsulation[[Nominal I.D]:[Nominal I.D]])-ROW(TableInsulation[[#Headers],[Nominal I.D]]))/(TableInsulation[[Nominal I.D]:[Nominal I.D]]=Tablepipework[@[Nominal I.D]:[Nominal I.D]]),COLUMNS($D3:D3))),""))

    Is there a way to make this criteria within a certain percentage of the resulting cell, as opposed to an exact match? For example A1:A1+10%?

    Also, finally, does the name DV_list have any relevence to the equation or can it be anything?

    Thanks for the help, really appreciate it
    Last edited by nostrum; 06-24-2019 at 01:38 PM.

  6. #6
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Dynamic List using INDEX MATCH and maybe OFFSET function

    You could try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that the bit in red checks greater or equal to the actual value (100%), the bit in bold checks less than or equal to 110% of the actual value.

    The name DV_list was just an example, it can be any valid name.

+ 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. Offset + Dynamic Index / Match
    By eyeope in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-06-2018, 05:12 PM
  2. Offset function with Index match
    By Jayant shettigar in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-08-2018, 11:56 AM
  3. Offset an Index/Match function
    By GurminderSG in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-25-2016, 04:48 PM
  4. Replies: 1
    Last Post: 06-10-2015, 12:56 PM
  5. [SOLVED] Complicated Index Match Offset function
    By Harlan Grove in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-06-2005, 11:05 PM
  6. Complicated Index Match Offset function
    By Bob in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 09:05 PM
  7. Complicated Index Match Offset function
    By Harlan Grove in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-06-2005, 05: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