+ Reply to Thread
Results 1 to 4 of 4

Look up multiple values from table and return another value

Hybrid View

  1. #1
    Registered User
    Join Date
    02-02-2010
    Location
    Pittsburgh, Pennsylvania
    MS-Off Ver
    Excel 2003
    Posts
    4

    Look up multiple values from table and return another value

    I am working on a workbook at work. It is being created to log in documents that need to be approved for construction. The problem I am having is that sometimes these documents come back as rejected and we have to create a revision. Currently my file looks like this:

    Row 1: Item #, Revision #, Release #, Equipment Description
    Row 2: M-01, 0, 1, Thing #1
    Row 3: M-02, 0, 0, Thing #2
    Row 4: M-02, 1, 1, Thing #2 Revised
    Row 5: M-02, 1, 2, Thing #2 Revised

    There are many more columns with information and many more rows of document records that continue the same way. What I am trying to do is use a VLOOKUP or something of the sort on another worksheet so that when someone types M-02 for Item #, 1 for Revision #, and 2 for Release #, all of the other information will just fill into other cells so they will be able to see the whole record on one page. I'm having trouble with the VLOOKUP because there are multiple instances of each value in each column.

    Can anyone give me some insight on how I can fix this problem?

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Look up multiple values from table and return another value

    What I am trying to do is use a VLOOKUP or something of the sort on another worksheet so that when someone types M-02 for Item #, 1 for Revision #, and 2 for Release #, all of the other information will just fill into other cells so they will be able to see the whole record on one page.
    See if the attached is of help. This VLOOKUP formula uses three criteria.

    =VLOOKUP($A2&$B2&$C2,Sheet1!$A$2:$F$5,4)
    Attached Files Attached Files
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: Look up multiple values from table and return another value

    Hi AJW, welcome to the forum. Please see the attached sheet for a possible solution. I created a merge column of the Item/Revision/Release on Sheet1 (column J) to perform a non-array lookup from Sheet2 columns D:H.

    =INDEX(Sheet1!D:D,MATCH($A2&$B2&$C2,Sheet1!$J:$J,0))
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-02-2010
    Location
    Pittsburgh, Pennsylvania
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Look up multiple values from table and return another value

    Paul,

    You saved me a lot of headache at work tomorrow. This works perfectly for what I was trying to do. Thank you so much!

+ 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