+ Reply to Thread
Results 1 to 8 of 8

highlight all duplicates EXCEPT first instance

  1. #1
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,368

    highlight all duplicates EXCEPT first instance

    Dear Community - good morning.

    In Column A I would like to highlight ALL duplicate values EXCEPT the first instance.

    I thought this would work but alas!!

    =IF(COUNTIF($A:A,A2)=1,FALSE,NOT(COUNTIF($A:A,A2)=1))

    If anybody could assist i'd be gratefull.

    Thanks
    Last edited by Blake 7; 12-14-2010 at 05:59 AM.
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

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

    Re: highlight all duplicates EXCEPT first instance

    Use this

    =COUNTIF($A$2:$A2, A2)>1

    And pull down
    Last edited by zbor; 12-14-2010 at 05:53 AM.

  3. #3
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,321

    Re: highlight all duplicates EXCEPT first instance

    =countif($a$1:a1,a1)>1
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    25,684

    Re: highlight all duplicates EXCEPT first instance

    Hi,

    One way in B1 and copied down

    Please Login or Register  to view this content.
    change row 100 to fit your data.

    Rgds
    Richard Buttrey

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,368

    Re: highlight all duplicates EXCEPT first instance

    Hi Team!

    Thanks all for your responses......worked a treat.

    Hope you all have a good day.

  6. #6
    Registered User
    Join Date
    06-26-2011
    Location
    Brisbane
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: highlight all duplicates EXCEPT first instance

    ANy idea how this can be done for a range (D4:M150)?
    Regards
    Dave

  7. #7
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    2007
    Posts
    3,082

    Re: highlight all duplicates EXCEPT first instance

    Hi Dave,

    I dare say you won't get any replies as your thread is in breach of Rule 2 (see here) of the forum, i.e.

    Don't post a question in the thread of another member -- start your own. If you feel it's particularly relevant, provide a link to the other thread

    This is especially the case with older threads.

    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  8. #8
    Registered User
    Join Date
    06-26-2011
    Location
    Brisbane
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: highlight all duplicates EXCEPT first instance

    My apologies
    Dave

+ 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