+ Reply to Thread
Results 1 to 5 of 5

Match Columns

  1. #1
    Registered User
    Join Date
    08-17-2012
    Location
    San Luis Obispo, CA
    MS-Off Ver
    Excel 2007
    Posts
    13

    Match Columns

    Hi, I have two tabs in excel, one is labeled 'Parts' and the other is labeled 'ReferenceParts'. 'ReferenceParts' has an assembly number column with an assembly description. Parts has one column that only has an assembly number column, and an empty assembly description column. How can I match up a description from 'ReferenceParts' to 'Parts'? I've tried using VLOOKUP and MATCH, but I may be doing it incorrectly. I've attached the file for your viewing purposes.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,732

    Re: Match Columns

    Put this formula in B2 of the Parts sheet:

    =IFERROR(VLOOKUP(A2,ReferenceParts!A:B,2,0),"")

    and then copy down by double-clicking the fill handle with B2 selected (the small black square in the bottom right corner of the cursor).

    Hope this helps.

    Pete

  3. #3
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Match Columns

    saucey,

    Copy the following formula into worksheet Parts, cell B2, then copy down in column B to the last used cell in column A:

    =IF(ISNA(VLOOKUP(A2,ReferenceParts!A:B,2,FALSE)),"",VLOOKUP(A2,ReferenceParts!A:B,2,FALSE))
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  4. #4
    Registered User
    Join Date
    08-17-2012
    Location
    San Luis Obispo, CA
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Match Columns

    Both work great! Thanks gentlemen!

  5. #5
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Match Columns

    saucey,

    Thanks for the feedback.

    You are very welcome. Glad we could help.

    Come back anytime.

+ 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