+ Reply to Thread
Results 1 to 2 of 2

Need Macro to extract ALL duplicates/multiples into new sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    12-04-2013
    Location
    Michigan
    MS-Off Ver
    Excel 2003
    Posts
    6

    Angry Need Macro to extract ALL duplicates/multiples into new sheet

    Hi,

    I am having a serious dilemma. I am completely confident in deleting and highlighting duplicates in a sheet, however, now, I need to extract rows of duplicates in column B (all multiples, leaving only unique single values in the original sheet) and create a new sheet.

    I need to split the original sheet of over 80,000 rows of information into single orders and multiple orders, so that they may be later consolidated.

    http://www.excelforum.com/attachment...s-1st-part.gif

    This is a brief sample of the sheet. I need the duplicates to be from column B. I tried doing a countif earlier (as shown by the million 2's in column C= epic fail) to try and split it into different steps...

    So if,
    Column B
    A
    A
    A
    B
    D
    E
    E

    New sheet would read:
    A
    A
    A
    E
    E

    *Note: of course the entire row would need to be moved, not just the column *

    Please help! This would take me days to do manually. I'm not the most Macro/Excellent proficient, so exact and easy to understand works best!

    Thanks so much

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Need Macro to extract ALL duplicates/multiples into new sheet

    Try this on a copy of the data

    =COUNTIF(B:B,B2) in C2 and copy down. Wait for calcuation to complete. (is calculation set to automatic in formula ribbon?)

    Filter to select rows in column C with value of 1

    Delete visible rows

    Clear filter.

+ 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. Macro to find and cut/paste duplicates on one sheet to another?
    By sunrize9 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-04-2013, 12:34 PM
  2. Checking for duplicates across multiples columns / tabs
    By dsciola in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-01-2013, 04:03 AM
  3. Autolist of code in one sheet from multiples sheets in excel
    By NILESH ZALA in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-09-2013, 08:52 AM
  4. Multiples table on sheet, help with print and filter
    By swiftrain in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-28-2013, 12:20 AM
  5. [SOLVED] Extract multiples records from adatabase which meet a specific condition
    By Danny77 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-22-2013, 09:05 AM

Tags for this Thread

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