+ Reply to Thread
Results 1 to 2 of 2

Duplicates in 1 column: way of rendering them in another column

  1. #1
    Registered User
    Join Date
    06-06-2010
    Location
    Hong Kong
    MS-Off Ver
    2016 for Mac
    Posts
    28

    Duplicates in 1 column: way of rendering them in another column

    Hi,

    I want to find the duplicates in, for example, column A and display any value in column B. That's easily done with =IF(COUNTIF($A$2:$A$1000,A2)>1,"duplicate",""). However, I want only the first duplicate displayed in column B, not both. Anyone here has an idea?

    Thanks a lot !!
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,050

    Re: Duplicates in 1 column: way of rendering them in another column

    Change the formula to this, copied down...
    =IF(COUNTIF($A$2:A2,A2)>1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Find duplicates in one column & add data from another column to duplicate-free sheet
    By ingiabouzeid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2013, 03:37 AM
  2. [SOLVED] Find duplicates in column A, add values from column B (possibly delete duplicates)
    By luarwhite in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-12-2013, 04:34 PM
  3. [SOLVED] Macro to count unique values in a column, enter it in next column, then delete duplicates
    By pmorisse in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-25-2013, 03:27 PM
  4. [SOLVED] Rendering Column Values for Selected Entries
    By rentb23 in forum Excel General
    Replies: 1
    Last Post: 01-16-2013, 07:34 PM
  5. Script to check for duplicates in one column then alter adjacent column values
    By SebN in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-29-2010, 12:23 PM

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