+ Reply to Thread
Results 1 to 3 of 3

if cells in Column A sheet1 and Column A sheet2 match, return text from same Sheet1 row

  1. #1
    Registered User
    Join Date
    04-23-2014
    Location
    Vancouver
    MS-Off Ver
    Excel 2003
    Posts
    8

    if cells in Column A sheet1 and Column A sheet2 match, return text from same Sheet1 row

    In a workbook, I have two sheets which have slightly different lists, Sheet 1 and Sheet 2. Each sheet has a list of Products. The Products are listed in Column A of Sheet one and Column A of Sheet two. There's overlap, but some Products will be in one sheet and not in the other and vice versa. Both sheets have a second column, called Code. The Code list gets entered into Sheet 1 on the corresponding Product row.

    What I want to do is fill Column B of Sheet 2 with the correct Product.


    Sheet 1

    A...............B
    bees.........animal
    karaoke.....entertainment
    paisley......pattern


    Sheet 2

    A...............B
    karaoke......
    mercury.....
    bees.........

    Apologies for being a tyro and thanks for any help!

  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,726

    Re: if cells in Column A sheet1 and Column A sheet2 match, return text from same Sheet1 ro

    Put this formula in B1of Sheet2:

    =IFERROR(VLOOKUP(A1,Sheet1!A:B,2,0),"")

    Then copy down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    04-23-2014
    Location
    Vancouver
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: if cells in Column A sheet1 and Column A sheet2 match, return text from same Sheet1 ro

    Thanks Pete, that works! Much appreciated.

+ 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] copy data from sheet1 to sheet2 based on column (A) sheet1 and column (C) sheet2
    By AWITCHER in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-13-2014, 03:20 PM
  2. Replies: 6
    Last Post: 07-25-2013, 02:58 PM
  3. [SOLVED] Take Data From Column on Sheet1 and Insert Into Next Blank Row on Sheet2 Then Clear Sheet1
    By abutler911 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-09-2013, 06:30 PM
  4. [SOLVED] Simple formula to match column A, sheet1, with column A, sheet2, return text answer
    By Connie5761 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-14-2012, 02:56 PM
  5. [SOLVED] Copy and Paste Entire Row from Sheet1->Sheet2 based on text string match in Sheet1 Row
    By dmlovic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-17-2012, 08:42 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