+ Reply to Thread
Results 1 to 5 of 5

find similar data in cells

  1. #1
    Registered User
    Join Date
    02-17-2009
    Location
    Stockholm
    MS-Off Ver
    Excel 2003
    Posts
    21

    find similar data in cells

    HI all,

    I have a column with 6000 article numbers. I believe that some article numbers are doulbe registered. is it a bit difficult to look at 6000 one by one. is there any way or function that can scan or look at all these 6000 article numbers and show me the double registered ones?

    thanks for helping
    Hoshyar

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: find similar data in cells

    in an adjacent column...

    =If(countif($A$1:$A$6000,A1)>1,"Duplicate","")

    copied down...

    Adjust ranges to suit

    or you can conditionally format

    Select Column and go to Format|Conditional format

    Select Formula Is and enter:

    =Countif($A$1:$A$6000,A1)>1

    Click Format and choose from Pattern Tab
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: find similar data in cells

    Or since the range is relatively large, it might be a little more efficient to use =IF(COUNTIF($A$1:$A1,A2),"Duplicate",""), starting in B2. This cuts the number of necessary operations pretty much in half (1,803,000 vs. 3,600,000).

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: find similar data in cells

    Same number of operations... just handling less data in each cell to you get to the bottom...

    ... but yes, more efficient....

  5. #5
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: find similar data in cells

    I was counting each check as a different operation. Checking A1 against A1, A1 against A2, etc.

+ 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