+ Reply to Thread
Results 1 to 4 of 4

List 'unique' duplicates on other sheet

Hybrid View

  1. #1
    Registered User
    Join Date
    04-05-2013
    Location
    Netherlands
    MS-Off Ver
    office 2007
    Posts
    2

    List 'unique' duplicates on other sheet

    Hi all,

    I'm still new to VBA. Often it seems like the easy things are the hardest.

    Im trying to figure out how to get a unique list of values that are duplicates in a certain column, and list these on another sheet.
    I can find allot of solutions to remove them, but not to extract them.

    Lets say:

    Sheet1 Column A has duplicates, i want to loop through the column and check if value is duplicate, if yes then copy value to Sheet 2 in column A. So i get a unique list with values that are duplicates on Sheet1 Column A

    Sheet1 Column A Sheet2 Column A
    100 101
    101 103
    102
    103
    104
    105
    103
    106
    101
    103
    107

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: List 'unique' duplicates on other sheet

    One way to get the list without VBA
    If data starts in cell A2
    Try this in B2 and copy down

    Formula: copy to clipboard
    =IF(COUNTIF(A$2:A2,A2)=2,A2,"")
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    04-05-2013
    Location
    Netherlands
    MS-Off Ver
    office 2007
    Posts
    2

    Re: List 'unique' duplicates on other sheet

    Quote Originally Posted by kev_ View Post
    One way to get the list without VBA
    If data starts in cell A2
    Try this in B2 and copy down

    Formula: copy to clipboard
    =IF(COUNTIF(A$2:A2,A2)=2,A2,"")
    Thanks Kev,

    This can do the job for me :D

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: List 'unique' duplicates on other sheet

    You are welcome
    Thanks for the rep
    If that gives you the solution you require please click Thread Tools (top of thread) and mark thread as solved

+ 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] pulling a unique list from duplicates
    By keith740 in forum Excel General
    Replies: 3
    Last Post: 12-30-2015, 06:46 PM
  2. List of unique text values from a list with duplicates
    By canoeron in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-11-2014, 11:27 PM
  3. [SOLVED] Turning a list with duplicates into a unique list?
    By alfgrey in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-10-2014, 07:34 PM
  4. [SOLVED] Creating a unique list from a list of duplicates
    By ssu in forum Excel Programming / VBA / Macros
    Replies: 38
    Last Post: 04-29-2013, 08:19 AM
  5. Replies: 1
    Last Post: 04-19-2013, 02:25 AM
  6. [SOLVED] Extract an unique list from 2 different lists without duplicates
    By akalien in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-06-2012, 06:09 AM
  7. Replies: 5
    Last Post: 06-22-2012, 04:03 PM

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