+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Matching critera from two different spreadsheets

  1. #1
    Registered User
    Join Date
    05-13-2010
    Location
    Greeley, Co
    MS-Off Ver
    Excel 2007
    Posts
    2

    Matching critera from two different spreadsheets

    I have two spreadsheets and I'm needing a little help!

    In the first spreadsheet, I have a listing of companies in column a, and a listing of materials in column b.

    In the second spreadsheet I have a listing of various bits of information which includes a listing of materials in column c.

    I'm wanting to see if there is a formula that can be entered that will compare the materials on both spreadsheets and if any of the materials match within the range it populate the company name on the second spreadsheet.

    Example;

    Spreadsheet 1:
    A1: Motion B1: 500111111
    A2: Motion B2: 500222222
    A3: SafetyNet B3: 500333333

    Spreadsheet 2:
    A1: Misc B1: Misc C1: 500222222
    A1: Misc B1: Misc C1: 500333333
    A1: Misc B1: Misc C1: 500111111

    Needing the formula to populate column D on the second spreadsheet with the corresponding company in column A from the first spreadsheet.

    Meaning if a material in columnC on spreadsheet2 matches a material in columnB on spreadsheet1 that it populate the company in columnD on the second spreadsheet from the information in columnA on spreadsheet1.

    Any ideas?
    Last edited by Donnie; 05-13-2010 at 11:36 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Matching critera from two different spreadsheets

    Try

    =IF(ISNUMBER(MATCH(C1,'Spreadsheet 1'!B:B,0)),INDEX('Spreadsheet 1'!A:A,MATCH(C1,'Spreadsheet 1'!B:B,0)),"")

    copied down after changing sheetname and references to suit.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-13-2010
    Location
    Greeley, Co
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Matching critera from two different spreadsheets

    That worked, thanks so much!!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Matching critera from two different spreadsheets

    Great, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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