+ Reply to Thread
Results 1 to 11 of 11

highlighting duplicates

Hybrid View

  1. #1
    Lynn
    Guest

    highlighting duplicates

    hi,
    i have a spreadsheet which contains a serial number on each row. There
    are 1000+ rows, does anyone has a macro that can check for rows with
    duplicated serial number and highlight them?
    thanks


  2. #2
    Roger Govier
    Guest

    Re: highlighting duplicates

    Hi Lynn

    One way
    Set up a helper column and enter
    =COUNTIF($A$1:A1000,A1)
    Copy down for 1000 rows
    Mark the block of data, Data>Filter>Autofilter and use the dropdown on
    the helper column to select values >1

    Regards

    Roger Govier



    Lynn wrote:

    >hi,
    >i have a spreadsheet which contains a serial number on each row. There
    >are 1000+ rows, does anyone has a macro that can check for rows with
    >duplicated serial number and highlight them?
    >thanks
    >
    >
    >


  3. #3
    Lynn
    Guest

    Re: highlighting duplicates

    can i put this as a marco so that i do not have to remmember this
    formula?


  4. #4
    Tom Ogilvy
    Guest

    Re: highlighting duplicates



    select the entire column with A1 as the active cell (for example).
    format => Conditional formatting

    change Cell Value is to Formula is in the first dropdown

    put in a formula relative to the active cell

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

    then select the formatting you want to apply when a cell is a duplicate.

    --
    Regards,
    Tom Ogilvy



    "Lynn" <moley_cruz@yahoo.com.au> wrote in message
    news:1129032607.809366.316190@g44g2000cwa.googlegroups.com...
    > hi,
    > i have a spreadsheet which contains a serial number on each row. There
    > are 1000+ rows, does anyone has a macro that can check for rows with
    > duplicated serial number and highlight them?
    > thanks
    >




  5. #5
    Lynn
    Guest

    Re: highlighting duplicates

    thanks Tom,
    but still i need to remmember this formula =Countif($A:$A,A1)>1
    anyway for me to store it in excel and use it ?


  6. #6
    Tom Ogilvy
    Guest

    Re: highlighting duplicates

    http://www.cpearson.com/excel/duplicat.htm

    Will be a ready resource.

    --
    Regards,
    Tom Ogilvy


    "Lynn" <moley_cruz@yahoo.com.au> wrote in message
    news:1129034579.447163.132050@f14g2000cwb.googlegroups.com...
    > thanks Tom,
    > but still i need to remmember this formula =Countif($A:$A,A1)>1
    > anyway for me to store it in excel and use it ?
    >




  7. #7
    Lynn
    Guest

    Re: highlighting duplicates

    sorry what do you mean?
    do you mean that storing Countif($A:$A,A1)>1 readily for use is not
    possible?


  8. #8
    Tom Ogilvy
    Guest

    Re: highlighting duplicates

    I guess that would depend on what you mean by storing.

    --
    Regards,
    Tom Ogilvy


    "Lynn" <moley_cruz@yahoo.com.au> wrote in message
    news:1129035697.474077.115690@z14g2000cwz.googlegroups.com...
    > sorry what do you mean?
    > do you mean that storing Countif($A:$A,A1)>1 readily for use is not
    > possible?
    >




  9. #9
    chris
    Guest

    Re: highlighting duplicates

    Highlight the column that contains the serial number, then goto
    data/filter/advanced filter and click the option "unique records only"
    it will HIDE all duplicated numbers. If you now select visible cells
    only and colour them, unhide all rows, you will be able to see
    duplicates


+ 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