+ Reply to Thread
Results 1 to 7 of 7

how to remove duplicates

  1. #1
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    how to remove duplicates

    dear all,

    I have in A thousands of values with many duplicates. Each time i do Data / Advanced / Unique values
    it goes forever and nothing happens, i am looking for alternative formula in B so that when new duplicates start in A i will get mark X in B

    thanks
    Last edited by legolas; 01-19-2012 at 05:22 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: how to remove duplicates

    Here, try this:

    =IF(COUNTIF($A$1:$A$10000,A1)>1, "x", "")

    Edit: This will mark both duplicate values: ie. ZZ in third column and ZZ in 7th column.

    if you don't want to mark first value (ie ZZ in 3rd column) use:


    =IF(COUNTIF($A$1:$A1,A1)>1, "x", "")

    and pull down
    Last edited by zbor; 01-19-2012 at 05:19 AM.

  3. #3
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    Re: how to remove duplicates

    i could not get it to work, i uploaded my file here:

    http://amonshare.com/ygimjufflovm/example.xlsx.html
    (sorry i could not upload it to the forum)

    thanks again

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: how to remove duplicates

    Here, try this:

    =IF(COUNTIF(A$2:A2,A2)=COUNTIF($A$2:$A$1000,A2),"X","")
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    Re: how to remove duplicates

    that's it, excellent so in case i want to replace mark X with the original brand name in C , can this be done!! thanks

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: how to remove duplicates

    You can just put:

    =IF(COUNTIF(A$2:A2,A2)=COUNTIF($A$2:$A$1000,A2), A2,"")

  7. #7
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    Re: how to remove duplicates

    Thanks a lot

+ 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