+ Reply to Thread
Results 1 to 3 of 3

Multi vlookup

  1. #1
    Forum Contributor
    Join Date
    01-29-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    157

    Multi vlookup

    I know how to perform a singular vlookup, but now I am needing to expand it, and can't quite figure it out. Instead of just looking for one value and returning the values associated, I need the lookup to look in 2 columns: Example:

    C2= WAS, and K2= HF

    Column N Contains the City Names, Column O Contains the HF, and Column T contains a dollar amount.

    So, what I am trying to accomplish is vlookup, and in this case, say look for WAS, and HF in columns N and O, and when found return Column T

    Couple of notes, if any of the data, particularly the lookup data needs to be in side by side columns I can re-arrange.. i.e. if WAS is in C2, and HF needs to be in D2, I can do move my data.

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

    Re: Multi vlookup

    =INDEX($t$1:$t$200, MATCH(c2 & k2, INDEX($n$1:$n$200 & $o$1:$o$200, 0), 0))
    "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

  3. #3
    Forum Contributor
    Join Date
    01-29-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    157

    Re: Multi vlookup

    Great! Thanks for the help.. works like a charm!

+ 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