+ Reply to Thread
Results 1 to 4 of 4

Lookup_Array name created by concatenation

  1. #1
    Registered User
    Join Date
    06-08-2016
    Location
    Austin, TX
    MS-Off Ver
    Excel 2013
    Posts
    2

    Lookup_Array name created by concatenation

    Is it possible to create an array name which is the result of a concatenation of 3 variables input by the user to be used to extract data from an array using a vlookup command?

    There are 72 arrays with defined names. The user will enter 3 variables into 3 different cells from which the concatenation will be created. There is data validation to ensure that the user enters only valid entries. Once the array name is created from the concatenation, it will be used in a vlookup command to extract data from one of the 72 arrays based on the combination of values entered by the user.

    clear as mud?

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Lookup_Array name created by concatenation

    Hi there,

    Take a look at the attached workbook and see if it gets you moving in the right direction.

    It uses the INDIRECT function in Cell G19 to identify the named range "tblAaBbCc" from the concatenated values of the variables stored in Cells D19:F19, i.e.:

    Please Login or Register  to view this content.


    Hope this helps - please let me know how you get on.

    Regards,

    Greg M
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-08-2016
    Location
    Austin, TX
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Lookup_Array name created by concatenation

    Your solution worked beautifully; as a result, I was able to rewrite a complex nested IF statement that filled 3 pages of a Word document and now only takes about 4 sentences. Thanks so much.

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Lookup_Array name created by concatenation

    Hi again,

    Many thanks for your feedback and also for the Reputation increase - much appreciated

    You're very welcome - glad I was able to help.

    Best regards,

    Greg M

+ 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. IF Match formula - multiple sheets in lookup_array
    By azonicds2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-17-2016, 01:04 PM
  2. [SOLVED] Lookup_array problem, when using MATCH function
    By CameRian in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-11-2014, 03:10 PM
  3. Lookup_array NAME in a MATCH function
    By ades in forum Excel General
    Replies: 3
    Last Post: 07-17-2013, 05:40 AM
  4. dynamic lookup_array in a match function
    By jgoff1988 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-21-2012, 09:10 PM
  5. Match function, changing range for lookup_array
    By jackiepope87 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-16-2012, 04:29 PM
  6. Click events on buttons created at runtime only work on the last button created
    By Treacle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2010, 05:44 AM
  7. Using ADDRESS results in a LOOKUP_ARRAY
    By Harry May in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-13-2007, 09:36 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