+ Reply to Thread
Results 1 to 6 of 6

Insert table_array as a Variable into VLOOKUP based on Data Validation result

  1. #1
    Registered User
    Join Date
    09-22-2013
    Location
    Wellington, New Zealand
    MS-Off Ver
    Excel 2013
    Posts
    13

    Lightbulb Insert table_array as a Variable into VLOOKUP based on Data Validation result

    Hi,

    When performing a VLOOKUP I need the table_array variable to change to a different table name based on 3 options in a Data Validation cell which then performs a match inside the correct table_array.

    e.g. Data Validation cell contains a drop down box with the following options: Apples, Oranges, Pears

    Formula

    Please Login or Register  to view this content.
    The MATCH portion works as expected however I'm having trouble changing the table_array according to the drop down list.

    Would prefer to keep the workbook formula based without having to use VBA if possible.

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Insert table_array as a Variable into VLOOKUP based on Data Validation result

    Please try this file.
    Attached Files Attached Files
    Please click 'Add reputation', if my answer helped you.

  3. #3
    Registered User
    Join Date
    09-22-2013
    Location
    Wellington, New Zealand
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: Insert table_array as a Variable into VLOOKUP based on Data Validation result

    Thanks ramananhrm,

    Works perfectly. Uber Guru!

    Greatly appreciated
    Last edited by TheKlaw; 09-23-2013 at 01:18 AM.

  4. #4
    Registered User
    Join Date
    09-22-2013
    Location
    Wellington, New Zealand
    MS-Off Ver
    Excel 2013
    Posts
    13

    Question Re: Insert table_array as a Variable into VLOOKUP based on Data Validation result

    Apologies ramananhrm,

    The fix broke my MATCH statement as a cross reference which was looking up a static table which also needs to change to a variable now.

    Could you have a look at the attached and show me how to do a MATCH lookup for the number of boxes please?
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Insert table_array as a Variable into VLOOKUP based on Data Validation result

    I have solved using Index.

    Please try this updated file.
    Attached Files Attached Files
    Last edited by ramananhrm; 09-23-2013 at 03:06 AM.

  6. #6
    Registered User
    Join Date
    09-22-2013
    Location
    Wellington, New Zealand
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: Insert table_array as a Variable into VLOOKUP based on Data Validation result



    Many thanks ramananhrm, Greatly appreciated!

    This guy knows his Excel people.

    Cheers

+ 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 - variable table_array
    By GhostGB in forum Excel General
    Replies: 2
    Last Post: 03-17-2010, 01:44 PM
  2. [SOLVED] Problems using a variable as a Table_Array in VLOOKUP
    By Biff in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 03:05 PM
  3. [SOLVED] Problems using a variable as a Table_Array in VLOOKUP
    By Jeff Lowenstein in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  4. Problems using a variable as a Table_Array in VLOOKUP
    By Jeff Lowenstein in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  5. Problems using a variable as a Table_Array in VLOOKUP
    By Jeff Lowenstein in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-15-2005, 10:05 PM

Tags for this Thread

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