+ Reply to Thread
Results 1 to 6 of 6

Dynamic table_array value for Vlookup function

  1. #1
    Registered User
    Join Date
    12-07-2018
    Location
    Paris
    MS-Off Ver
    10
    Posts
    13

    Dynamic table_array value for Vlookup function

    Alright, I am trying to figure out if the following is possible.
    I have in F2 of the attached excel file tried to get the table_array value for the vlookup function dynamic. The input for the table_array is in the column title (line 1). I cannot make it work despite my research.

    Can somebody look into it to let me know what is wrong in my attempt?
    Column D and E are the expected outcome (function not dynamic), column F is my vain attempt...

    Thanks very much in advance for your attention.

    Best,

    Rox
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Dynamic table_array value for Vlookup function

    Use this, copied across and dnown:

    =VLOOKUP($C2,INDIRECT("'"&F$1&"'!A1:C300"),3,FALSE)

    Don't use whole column references inside INDIRECT. Calculating 1,000,000 rows for each column will be sooo sloooow.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Dynamic table_array value for Vlookup function

    With your file...

    I have just noticed you're in France. You may need ; instead of , in the formula.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    12-07-2018
    Location
    Paris
    MS-Off Ver
    10
    Posts
    13

    Re: Dynamic table_array value for Vlookup function

    OK well noted!! working perfect!! Thank you so much Glenn!!

  5. #5
    Registered User
    Join Date
    12-07-2018
    Location
    Paris
    MS-Off Ver
    10
    Posts
    13

    Re: Dynamic table_array value for Vlookup function

    Merci Glenn!!!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Dynamic table_array value for Vlookup function

    You're welcome and thanks for the Rep.

+ 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 with function in table_array
    By JoshuaEyer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-03-2025, 05:43 AM
  2. [SOLVED] Dynamic "table_array" in VLOOKUP function
    By TheRox in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-08-2019, 03:07 PM
  3. [SOLVED] VLOOKUP using dynamic table_array, EXCEL adding quotes, viewing as text string not array
    By littleredd1968 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-29-2014, 05:42 PM
  4. [SOLVED] VLOOKUP formula with a dynamic table_array range
    By mmogharreban in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-28-2013, 10:34 PM
  5. dynamic range (table_array) in vlookup formule
    By cuoredicapitano in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-11-2010, 11:09 AM
  6. dynamic table_array in vlookup
    By kathy32181 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-26-2007, 07:12 PM
  7. Dynamic range for Table_array in a VLOOKUP.
    By DaveO in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-12-2005, 12:05 PM

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