+ Reply to Thread
Results 1 to 7 of 7

match data of sheet1 and Sheet2 ColumnA, if matched copy columnB of sheet1 to sheet2

  1. #1
    Registered User
    Join Date
    07-25-2013
    Location
    Manila
    MS-Off Ver
    Excel 2010
    Posts
    4

    match data of sheet1 and Sheet2 ColumnA, if matched copy columnB of sheet1 to sheet2

    I need help, and I am not sure how to use macros annd IF's

    I have a huge data contains of 18,000 rows and working on two worksheets.

    Both sheets has the same unique Values which is in ColumnA. I want to copy the Column B of Sheet1 to Column C of sheet 2 if ColumnA of Sheet1 and Sheet2 are the same.
    Please note that I may have18,000 entries on sheet 1 and 17,000 entries on sheet 2. So I only want to copy the data that are present in Sheet 2.

    Please see attached file as a test.

    Thanks a lot.

    -Annielle

    test.xlsx

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: match data of sheet1 and Sheet2 ColumnA, if matched copy columnB of sheet1 to sheet2

    In Sheet2!B2 try this formula:

    Please Login or Register  to view this content.
    Copy/Autofill down.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    07-25-2013
    Location
    Manila
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: match data of sheet1 and Sheet2 ColumnA, if matched copy columnB of sheet1 to sheet2

    Hi ConneXionLost,

    I tried it but it only apply to the first row.

    Whenever I apply it to the entire row it all fills in the value same as the first row "yes"

    Some data in sheet 2 are not present in Sheet 1 so that should remain blank.

    Please help. Thanks a lot and I truly appreciate it.

  4. #4
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: match data of sheet1 and Sheet2 ColumnA, if matched copy columnB of sheet1 to sheet2

    Autofill "down", not across.

  5. #5
    Registered User
    Join Date
    07-25-2013
    Location
    Manila
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: match data of sheet1 and Sheet2 ColumnA, if matched copy columnB of sheet1 to sheet2

    I tried to auto-fill but it is still giving values as "yes" to te entire column.
    Some data in sheet 2 are not present in Sheet 1 so that should remain blank.

  6. #6
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: match data of sheet1 and Sheet2 ColumnA, if matched copy columnB of sheet1 to sheet2

    Ensure you have calculations set to automatic.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-25-2013
    Location
    Manila
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: match data of sheet1 and Sheet2 ColumnA, if matched copy columnB of sheet1 to sheet2

    Hello ConneXionLost,

    Thanks a lot. It works.



    I appreciate the time and effort responding to this query.

    _Annielle

+ 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] If cell value on Sheet1 not found on Sheet2 copy row to Sheet2
    By Yxx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-18-2013, 04:15 AM
  2. Replies: 3
    Last Post: 06-06-2012, 05:36 AM
  3. [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
  4. Replies: 4
    Last Post: 08-30-2007, 07:14 AM
  5. Replies: 14
    Last Post: 09-06-2005, 03:05 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