+ Reply to Thread
Results 1 to 5 of 5

Highlight entire row when duplicate found but leave 1st duplicate blank

  1. #1
    Forum Contributor
    Join Date
    08-20-2012
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    184

    Highlight entire row when duplicate found but leave 1st duplicate blank

    Hi

    I have a formula which does exactly what I need it to do and that is highlight the entire row when a duplicate is found but to leave the 1st duplicate blank. (using conditional formatting)

    The formula I use is
    Please Login or Register  to view this content.
    I have noticed an error and that is this only works if the duplicates are not together. The below example works ie leaves the 1st "12345" blank, and highlights the last 2. If they are all "12345", it colours them all.

    12345
    1234
    12345
    12345

    Is there a way to stop this from happening so both scenarios are covered, ie duplicates together or seperated?

    Many thanks in advance

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Highlight entire row when duplicate found but leave 1st duplicate blank

    Hi Milo,

    Use the below formula in conditional formatting :-

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attached:- Leave 1st duplicate then highlight entire row.xlsx

    Regards,
    DILIPandey


    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Highlight entire row when duplicate found but leave 1st duplicate blank

    Hi Milo,

    Just noticed a issue as notified by my friend and have correct the same in the attached workbook.... actually, we need to exclude the first cell from conditional formatting logic. Thanks.

    Leave 1st duplicate then highlight entire row.xlsx


    Regards,
    DILIPandey

    <click on below 'star' if this helps>

  4. #4
    Forum Contributor
    Join Date
    08-20-2012
    Location
    London,England
    MS-Off Ver
    Excel 2010
    Posts
    184

    Re: Highlight entire row when duplicate found but leave 1st duplicate blank

    Thank you very much for your help.

    It worked very perfectly.

    Many Thanks

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Highlight entire row when duplicate found but leave 1st duplicate blank

    Cheers

    Suggest you to mark this thread as [SOLVED].. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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