+ Reply to Thread
Results 1 to 4 of 4

Extract duplicates

  1. #1
    Registered User
    Join Date
    08-04-2007
    Posts
    2

    Extract duplicates

    I would like to extract a list of duplicate products based on location.

    Any product duplicated with products in location ob* are placed in a new list.

    Please refer to the posted simplified sheet for reference.

    The spreadsheet in question has thousands of rows so i would like the duplicates list to be compiled in a new sheet.

    Please forgive my poor use of terminology, and thanks in advance for any suggestions posted.

    Thanks again
    Attached Files Attached Files

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Excelexcess,

    This macro will keep only the duplicate products that contain the string "ob" in them. The data must be sorted by product before the macro is run. You can change both the data table cells, and also the location of the new table (code is in blue). The macro is not designed to overwrite the original table. This is installed in the attached workbook.
    Macro Code
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    07-05-2007
    Location
    Lexington, MA
    Posts
    302

    Code to move identified rows from sheet to sheet

    See the attached file for worksheet formulas and associated Macro code that will move rows from sheet to sheet (or workbook to workbook, for that matter).

    The worksheet formulas identify the rows that you want to move. This integrates with the code that moves the rows.

    This workbook uses a specialized Sub to call the more general code. I will leave it to your taste as to how you want to implement the actual move.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by FrankBoston; 08-04-2007 at 11:28 PM.

  4. #4
    Registered User
    Join Date
    08-04-2007
    Posts
    2
    These solutions are very useful, and have solved my problem, thanks

    I can adapt each to my needs in other areas as well

+ 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