+ Reply to Thread
Results 1 to 6 of 6

vlookup or index-match for multiple columns

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    Cleveland, OH
    MS-Off Ver
    2010
    Posts
    9

    vlookup or index-match for multiple columns

    I'm attempting to search for the first names in a table and turn up the result of the last column . Unfortunately, my formulas are not pulling up any results. In other words, I'd like to search for column 1 of RESULTS in the REFERENCE TABLE, and have the value of column 4 of REFERENCE TABLE turn up in column 3 of RESULTS.

    I've attempted to do this with both vlookup and index-match, but keep returning #N/A values. I've attached the file also if you'd like to see what I've done.

    Thanks!


    RESULTS
    1 2 3
    Mike Johnson "Formula"
    Beth Smith "Formula"
    Bob Heinz "Formula"


    REFERENCE TABLE
    1 2 3 4
    Michael Mike 0 1
    Robert Rob Bob 2
    Elizabeth Elisabeth Beth 3
    Attached Files Attached Files
    Last edited by nmprodan; 01-10-2013 at 08:45 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: vlookup or index-match for multiple columns

    The names in column A of the sheets are not the same: Mike is Not Michael, etc.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    09-20-2012
    Location
    Cleveland, OH
    MS-Off Ver
    2010
    Posts
    9

    Re: vlookup or index-match for multiple columns

    I'm trying to get it to match up with any of the columns not just A. It works for me with numbers, but doesn't seem to want to with names.

  4. #4
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: vlookup or index-match for multiple columns

    C1: =SUMPRODUCT((table!A$1:C$3=A1)*table!D$1:D$3)

  5. #5
    Registered User
    Join Date
    09-20-2012
    Location
    Cleveland, OH
    MS-Off Ver
    2010
    Posts
    9

    Re: vlookup or index-match for multiple columns

    You are the bomb! A life saver, thanks a ton! Ever in Cleveland, you have a beer coming.

  6. #6
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: vlookup or index-match for multiple columns

    You're Welcome!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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