+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Forum Contributor
    Join Date
    01-12-2004
    Location
    NY
    Posts
    92

    Subsequent duplicate records

    I have a single-column list. The column header is 'ID'... records within this column repeat sometimes (this is ok)

    I need a worksheet function that will allow me to mark the second, third, or fourth duplicate, but leave the first duplicate alone or unmarked.

    I have searched the Web and this forum, and came up empty.

    If this cannot be done with a worksheet function, then VBA is welcome.

    No ColorIndex please.

    Thanks in advance.
    Last edited by NBVC; 04-03-2009 at 10:16 AM.
    _________________
    Regards,
    nrage21

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,145

    Re: Subsequent duplicate records

    Try something like:

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

    where A1 contains first string in your sheet to apply formula to.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Forum Contributor
    Join Date
    01-12-2004
    Location
    NY
    Posts
    92

    Re: Subsequent duplicate records

    Thx NBVC... I feel like a dumb@$$
    _________________
    Regards,
    nrage21

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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.2.0