+ Reply to Thread
Results 1 to 6 of 6

Identify AND change duplicates

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    49

    Identify AND change duplicates

    I've attached an excel file of what I need.

    Basically, I need help figuring out a way that I can click on an entire column, identify all the duplicates and add _1, _2, _3, and so on after each duplicate.

    For example, if the number 1234 shows up 4 times in column A I want to be able to click column A and through a series of functions change it to say 1234_1, 1234_2, 1234_3, 1234_4.

    I hope that makes sense! Thanks any advance for the help.

  2. #2
    Registered User
    Join Date
    10-10-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Identify AND change duplicates

    I forgot to attach Book1.xlsx

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Identify AND change duplicates

    Hi,

    Perhaps you'd be satisfied with your desired results in a separate column?

    For example, based on your attachment, in B2 and copy down:

    =A2&"_"&COUNTIF(A$2:A2,A2)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Registered User
    Join Date
    10-10-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Identify AND change duplicates

    That works! Thanks!

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Identify AND change duplicates

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  6. #6
    Registered User
    Join Date
    10-10-2012
    Location
    Arizona
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: Identify AND change duplicates

    Can you please explain what is happening in this formula? The absolute value on $2 is confusing me. It works but I just want to understand why it works.

+ 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] Identify Duplicates and Non-Duplicates within an Array (Match)
    By simpson11 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-26-2013, 09:49 AM
  2. [SOLVED] How do you identify duplicates?
    By Akuso in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-05-2012, 04:30 PM
  3. Identify Duplicates (was Delete Duplicates)
    By BusyEvent in forum Excel General
    Replies: 3
    Last Post: 05-11-2011, 12:20 PM
  4. Identify Duplicates
    By whamps11 in forum Excel General
    Replies: 9
    Last Post: 11-30-2009, 12:17 PM
  5. [SOLVED] identify duplicates
    By 5thsun7thchild in forum Excel General
    Replies: 1
    Last Post: 09-01-2005, 12:05 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