+ Reply to Thread
Results 1 to 2 of 2

Comparing 2 cells and copying rows to new worksheet

  1. #1
    Registered User
    Join Date
    03-24-2006
    Posts
    5

    Comparing 2 cells and copying rows to new worksheet

    I have a list of several company names and addresses that has multiple duplicates. I want to create a macro that will remove the most obvious duplicate entries by comparing company names.

    What I'm looking to do is compare B2 to B3 - Company names are in column B and have been sorted. If B2 = B3 then copy row 2 & 3 to Worksheet 2. Once row 2 & 3 have been copied, compare B3 & B4.

    Any suggestions on how to get started with this?

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    As far as duplicates are concerned, Chip has done an extensive analysis of all possible cases ...

    http://www.cpearson.com/excel/duplicat.htm


    HTH
    Carim

+ 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