+ Reply to Thread
Results 1 to 5 of 5

Question on Table Array in VLOOKUP function

  1. #1
    Registered User
    Join Date
    08-05-2014
    Location
    HK
    MS-Off Ver
    2010
    Posts
    13

    Question on Table Array in VLOOKUP function

    Hi All,

    I am trying to use vlookup function, but my table array is a bit tricky. For example, my table array is B:E and col_index_num is 4 (i.e. return value in column E). However, my column A contains some specific numbers, e.g 161 and 171.

    Is there any way/formula to only lookup the value that column contains 161?

    Thanks a lot!

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Question on Table Array in VLOOKUP function

    Hi w_k_c,
    Welcome to the Forum.

    If you are trying to return the first match found in loopup table array, you may try this array formula which requires confirmation with Ctrl+Shift+Enter instead of just Enter. (though index match can also be used for this)

    Please Login or Register  to view this content.
    Where C1 contains the lookup value, B2:E100 is table array and A2:A100 contains your additional criteria (161).

    But if there are multiple matches and you want to return all of them, you will need a different formula. If this is not what you are trying to achieve, attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Question on Table Array in VLOOKUP function

    You mean only 161 ?

    =VLOOKUP(161,B2:E4,4,FALSE)

  4. #4
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Question on Table Array in VLOOKUP function

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


    CSE Formula (control+ Shift + Enter)

    F4 = 161
    G4 = whatever you looking up in column B
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  5. #5
    Registered User
    Join Date
    08-05-2014
    Location
    HK
    MS-Off Ver
    2010
    Posts
    13

    Re: Question on Table Array in VLOOKUP function

    Thanks All. It seems working. Appreciated for your help!

+ 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. [SOLVED] Using VLOOKUP when the value in table array is another function
    By bbrunof in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-11-2013, 12:57 PM
  2. [SOLVED] Table Array Argument in VLOOKUP Function
    By Kvramana in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2013, 02:45 AM
  3. Replies: 2
    Last Post: 02-23-2011, 07:24 AM
  4. Replies: 3
    Last Post: 03-01-2006, 08:45 AM
  5. Replies: 2
    Last Post: 02-15-2005, 10:58 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