+ Reply to Thread
Results 1 to 3 of 3

lookups uising 2 workbooks and multiple criteria

  1. #1
    Registered User
    Join Date
    09-05-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    6

    lookups uising 2 workbooks and multiple criteria

    Hi everyone,

    Need urgent help doing lookups across to workbooks for multiple criteria - normally i do vlookups but obviously there is a limitation to more than one source item.

    In book 1 (Roll Data) i have a Purchase Order Number and a Product ID. I need to then find the date received which is help in workbook 2, which is based on a certain date range to determine if I received the goods in said period or they were still in transit

    In book 2 i have the same information but with the date included (Purchase Order Number is noted here as PO Number, and Product ID is called Item Number)

    So in effect i am trying to use workbook 1 as the final data point and pull the date received from book 2 using the PO number then the part number

    Appreciate help here folks
    Roll Data - date received 1.xlsx
    Attached Files Attached Files

  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
    53,051

    Re: lookups uising 2 workbooks and multiple criteria

    Try this ARRAY formula for Date Received...
    =INDEX([receipts.xlsx]Sheet1!$R:$R,MATCH(E4&H4,[receipts.xlsx]Sheet1!$B:$B&[receipts.xlsx]Sheet1!$I:$I,0))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    Im not sure which columns contain the other info, but for them, just change the INDEX reference
    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
    09-05-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: lookups uising 2 workbooks and multiple criteria

    Quote Originally Posted by FDibbins View Post
    Try this ARRAY formula for Date Received...
    =INDEX([receipts.xlsx]Sheet1!$R:$R,MATCH(E4&H4,[receipts.xlsx]Sheet1!$B:$B&[receipts.xlsx]Sheet1!$I:$I,0))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    Im not sure which columns contain the other info, but for them, just change the INDEX reference

    Thanks for the information - i have tried this and it does work for some portions. Sadly a lot of dates are returning as 0-Jan-1900 even though i can locate them in the receipts book. Any thoughts as to why i can manually locate them but not with the formula?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple criteria for lookups
    By wsmith_84 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-05-2013, 03:18 PM
  2. Multiple Criteria & Multiple Workbook Lookups
    By viper7542 in forum Excel General
    Replies: 1
    Last Post: 10-28-2011, 02:13 AM
  3. Sumproduct/sumif/indirect across multiple workbooks, worksheets, multiple criteria
    By robgardner15 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2011, 02:35 AM
  4. Excel 2007 : Multiple Criteria (nonUnique) Lookups
    By nutmeg34 in forum Excel General
    Replies: 18
    Last Post: 12-15-2010, 01:08 PM
  5. Question about data lookups with multiple criteria and multiple results
    By TheMachineWhisperer in forum Excel General
    Replies: 0
    Last Post: 10-18-2010, 10:36 AM

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