+ Reply to Thread
Results 1 to 3 of 3

How can I make the Table_array in VLOOKUP function dynamic moving between series of data?

  1. #1
    Registered User
    Join Date
    04-01-2023
    Location
    Doha, Qatar
    MS-Off Ver
    2016
    Posts
    2

    Question How can I make the Table_array in VLOOKUP function dynamic moving between series of data?

    Hi,

    My question, how can I make the Table_array in VLOOKUP function dynamic?
    Example:

    for this formula in Cell D19
    =VLOOKUP($E$2,Sheet1!$C$2:$M$7,2,FALSE)
    Cell D20
    =VLOOKUP($E$2,Sheet1!$C$8:$M$13,2,FALSE)
    Cell D21
    =VLOOKUP($E$2,Sheet1!$C$14:$M$19,2,FALSE)

    what is the formula that I can use to replace the numbers 8 and 13 in Cell D20, and the number 14 and 19 in Cell D21??
    Attached Files Attached Files
    Last edited by Murad_Eid; 04-01-2023 at 06:57 AM.

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2504 and WPS V2024(12.1.0.18543)
    Posts
    4,046

    Re: How can I make the Table_array in VLOOKUP function dynamic moving between series of da

    Worksheet or Tab name : Sheet2
    Cell D19 formula , Drag right

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

  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: How can I make the Table_array in VLOOKUP function dynamic moving between series of da

    Since there are NO bookings in April, (TODAY)... the grid should all have been blank.

    There is no need for the lower Table. I changed the date in D5 to 1st February and used this in D6, copied across and down.

    =IFERROR(INDEX(Sheet1!$D$2:$M$121,MATCH(1,INDEX((Sheet1!$C$2:$C$121=$E$2)*(Sheet1!$B$2:$B$121=Sheet2!D$5),0),0),MATCH($C6,Sheet1!$D$1:$M$1,0)),"")
    Attached Files Attached Files
    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

+ 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. Dynamic table_array value for Vlookup function
    By TheRox in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-20-2020, 07:34 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] How to make a "table_array" cells selection dynamic in a search function
    By TheRox in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-10-2018, 08:50 AM
  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. [SOLVED] 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

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