+ Reply to Thread
Results 1 to 8 of 8

vlookup with multiple TABLE_ARRAY

  1. #1
    Registered User
    Join Date
    05-07-2012
    Location
    Dhaka
    MS-Off Ver
    Excel 2016
    Posts
    70

    vlookup with multiple TABLE_ARRAY

    i'm using vlookup to match data. Now the problem is: i have 3 column as TABLE_ARRAY. Now when i enter the lookup_value i want it to search first column 1 then if not matches then column 2 and if this still not matches then it will look into 3rd column.
    I have no problem with this when it has only one TABLE_ARRAY column but i fail with multiple....
    Sorry can't make it more clear than this.
    Thank you for any help

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    12,193

    Re: vlookup with multiple TABLE_ARRAY

    Perhaps use an INDEX/MATCH combination instead of vlookup

  3. #3
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: vlookup with multiple TABLE_ARRAY

    what column do you want to get data from?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    05-07-2012
    Location
    Dhaka
    MS-Off Ver
    Excel 2016
    Posts
    70

    Re: vlookup with multiple TABLE_ARRAY

    want to get data from column 1, 2 or 3

    this is what i'm using now:
    =VLOOKUP(F3,A3:D20,4,FALSE)
    this looks only in A3 column but i want it to look into A3 if not matched then B3 and if its still no matches then C3 column.
    Is it possible?

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    12,193

    Re: vlookup with multiple TABLE_ARRAY

    Can there be matches in more than one cell in the same row?

  6. #6
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: vlookup with multiple TABLE_ARRAY

    if its text you are returning (in this case column I must be text)you can can use
    =LOOKUP("zzz",CHOOSE({1,2,3},VLOOKUP(B1,$F$2:$I$18,4,FALSE),VLOOKUP(B1,$G$2:$I$18,3,FALSE),VLOOKUP(B1,$H$2:$I$18,2,FALSE)))
    if its a number then(and its column I that contains the numbers)
    =LOOKUP(10^99,CHOOSE({1,2,3},VLOOKUP(B1,$F$2:$I$18,4,FALSE),VLOOKUP(B1,$G$2:$I$18,3,FALSE),VLOOKUP(B1,$H$2:$I$18,2,FALSE)))

  7. #7
    Registered User
    Join Date
    07-11-2011
    Location
    New Jersey
    MS-Off Ver
    Excel 2007
    Posts
    40

    Re: vlookup with multiple TABLE_ARRAY

    Hello Martinwilson -

    would you kindly expand a bit on what the LOOKUP CHOOSE{1,2,3} does?

  8. #8
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: vlookup with multiple TABLE_ARRAY

    sorry mate please start your own thread asking this question with a link back to this one if needed

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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