+ Reply to Thread
Results 1 to 5 of 5

Compare two sheets,copy and paste unique rows based on values in 2 columns

  1. #1
    Registered User
    Join Date
    02-21-2013
    Location
    Nova Scotia, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Compare two sheets,copy and paste unique rows based on values in 2 columns

    Hello,
    I would like to compare 2 worksheets in the same workbook, sheet 1 and sheet 2, and copy and paste rows from sheet 2 to sheet 1 if the combined value of 2 columns are not found in sheet 1.
    I have attached an example to illustrate. Column B or D on their own may not be unique but when combined they would be.

    I could also create an additional column and contcatenate B and D to provide a single column for comparison.

    I am relatively new to this forum and VBA but consider myself a strong excel user. I have spent alot of time searching for existing posts that would help me find a solution but with no success.

    Any assistance would be greatly appreciated
    Attached Files Attached Files
    Last edited by ooggiemobile; 03-31-2013 at 02:32 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: Compare two sheets,copy and paste unique rows based on values in 2 columns

    Try this

    Please Login or Register  to view this content.
    Elegant Simplicity............. Not Always

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Compare two sheets,copy and paste unique rows based on values in 2 columns

    As an option

    Please Login or Register  to view this content.
    Last edited by AB33; 04-01-2013 at 05:20 AM.

  4. #4
    Registered User
    Join Date
    02-21-2013
    Location
    Nova Scotia, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Compare two sheets,copy and paste unique rows based on values in 2 columns

    Thank you both for your solutions. Both worked perfectly. I'll go to work to try to understand them now.

    All the best...

  5. #5
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Compare two sheets,copy and paste unique rows based on values in 2 columns

    ooggie,
    You are welcome!
    Could you please now close (Mark) this thread as solved? Go in to the top right-hand side of this page, choose "Thread Tools" from the menu, then select "solved" from the drop down menu.

+ 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