+ Reply to Thread
Results 1 to 4 of 4

AND YET another multiple criteria Lookup question

  1. #1
    Registered User
    Join Date
    04-26-2013
    Location
    Hernando, MS
    MS-Off Ver
    Excel 2010
    Posts
    13

    Smile AND YET another multiple criteria Lookup question

    I am not an Excel expert. Most of what I do in excel I learn as a result of forum searching via Google.
    I have a workbook that, when I open it, refreshes several queries from an Access database and fills in all but the first worksheet with refreshed data.

    I am attaching my workbook. MSD OPEN ORDERS

    I thought I found the answer here in this forum on the following thread http://www.excelforum.com/excel-gene...-question.html....but I cannot get the solution there to work for me.

    Perhaps someone can help please.

    I need the Cell M2 on the first worksheet "OOR" (and all below it) to automatically fill in with the correct Job #. It should find this information on worksheet "Q1" in Column E.

    It needs to match the information in column A and B from the first worksheet "OOR" to the corresponding information in columns B & C in the second worksheet "Q1"....basically I need the PO number and Item number to match in both so it can determine what the job number should be.

    Thank you in advance for any help you can offer.



    MSD OPEN ORDERS.xlsm
    Last edited by murleyj; 04-26-2013 at 06:21 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: AND YET another multiple criteria Lookup question

    you were pretty much right, with what you had, but your data messed you around. The data in B, sheet2 has trailing spaces. Use this instead...

    =INDEX('Q1'!$E$2:$E$21,MATCH(A2&B2,TRIM('Q1'!$B$2:$B$21)&'Q1'!$C$2:$C$21,0))
    (still an array formula, so use CSE)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-26-2013
    Location
    Hernando, MS
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: AND YET another multiple criteria Lookup question

    Awesome, thank you Fdibbins! Works perfectly!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: AND YET another multiple criteria Lookup question

    Happy to help

+ 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