+ Reply to Thread
Results 1 to 3 of 3

Need to pull matching values from another workbook using index match

  1. #1
    Registered User
    Join Date
    07-23-2007
    Posts
    20

    Need to pull matching values from another workbook using index match

    Hello fellow excel junkies -Here is a bit of challenge for your brains.

    I want to extract the status (received /unreceived) of an item in the "revision" column D of the "Bill Of materials report" spreadsheet (attached) from the "delivery status" column E of the "purchasing report" (attached) into a separate column in the "Bill Of materials report" spreadsheet.

    The corresponding item number column in the purchasing report is "Supplier SO" Column F in the "purchasing report".

    It is possible that the same item can be ordered under different jobs so it must retrieve status for only those items that were ordered under the job number "80145" in cell B3 of the "Bill Of Materials Report" spreadsheet. The corresponding jobs column on the "Purchasing Report" is column A "Test Job#".

    I want to accomplish this using excel VBA as I dont want to put in the retrieved values instead of formulas. It will make the file size too big.

    I was able to accomplish this partially (without the job number criteria) using the index match formula below but not sure how I can write it in VB code. What makes it tricky is that there is a space in the item number entered in the "purchasing report" so I had to use the trim function to get rid of this space so it must be entered as an array formula. So I will need to use activesheet.evaluate instead of worksheetfunction and I cannot figure that part out. Any help will be greatly appreciated!

    Please Login or Register  to view this content.


    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor nigelbloomy's Avatar
    Join Date
    11-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1,011

    Re: Need to pull matching values from another workbook using index match

    Does this get you any closer? http://www.mrexcel.com/forum/excel-q...lications.html
    Some people volunteer in soup kitchens or hospitals. I choose to make the world better by trying to help you with Excel. We're all learning.

    <---Click * Add Reputation for all helpful comments. It's like giving a smile.
    Forum Rules: How to mark your post [Solved] and have a happier, Excel enriched life.

  3. #3
    Registered User
    Join Date
    07-23-2007
    Posts
    20

    Re: Need to pull matching values from another workbook using index match

    Thanks Nigel. Sorry I didn't know earlier but now there is another twist. There can be multiple entries belonging to the same Item number in the purchasing report for the same job and we need to collect the status for all matches returned and if any of them are still unreceived, then it should show "unreceived" otherwise it shows "received". unless someone here has a better idea, I will have to go with the array solution as it is getting more complex

+ 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. [SOLVED] Index and Match to return ALL matching values
    By garciapliz in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-07-2015, 05:41 AM
  2. Replies: 3
    Last Post: 05-19-2014, 02:01 PM
  3. Replies: 3
    Last Post: 01-23-2014, 01:30 PM
  4. [SOLVED] INDEX MATCH and MIN/SMALL to pull first and second smallest values from array
    By tlafferty in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-18-2014, 04:03 AM
  5. Using Index-Match to pull non-unique values
    By acsherman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2013, 04:08 PM

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