+ Reply to Thread
Results 1 to 6 of 6

Highlight rows based on Duplicate with conditions

  1. #1
    Registered User
    Join Date
    01-03-2010
    Location
    Cyprus
    MS-Off Ver
    Excel 2007
    Posts
    14

    Highlight rows based on Duplicate with conditions

    Hello everybody,

    I have been looking for an answer to my question but all the solutions i found where not exactly what i needed and i was not able to adapt them to my needs.

    (excel file attached)
    I am looking for a way to highlight the whole row, each time :
    - Columns A , B , C and E are duplicates (need that they will all have the same duplicate values)
    - Only IF column J is different

    In the attached example, you can see that Rows 3 and 4 were highlighted but row 7 was not because it has a different value in column J
    Attached Files Attached Files
    Last edited by romperstomper; 07-08-2011 at 05:40 PM. Reason: mark solved (properly)

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

    Re: Highlight rows based on Duplicate with conditions

    How about adding one more helper column and use it as criteria (in my example, last row also highlited... Is that OK?)

    You can hide it if you don't want to see it.
    Attached Files Attached Files
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    01-03-2010
    Location
    Cyprus
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Highlight rows based on Duplicate with conditions

    Hi Zbor
    First of all, thanks for this fast and interesting reply I did not think of using a Helper column

    2 things:
    - The last row should Not be highlighted, that's the main concept. Because, even though the values in A, B, C and E are the same as the ones for Row number 3 and 4...the value in J differs.

    -This is an extra request. Do you think there is a possibility to highlight just 1 out of many duplicate rows ? Sounds very difficult but the thing is i would like then to be able to Filter by Color and display only Unique rows based on the above conditions.
    As it is, both rows will be highlighted and they will both disappears with the Color filter

    Thanks

  4. #4
    Registered User
    Join Date
    01-03-2010
    Location
    Cyprus
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Highlight rows based on Duplicate with conditions

    Could anyone help me with this please ? I kept looking on the web for an answer...could not find any

  5. #5
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Highlight rows based on Duplicate with conditions

    Modified zbor's result as attached.
    Attached Files Attached Files
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  6. #6
    Registered User
    Join Date
    01-03-2010
    Location
    Cyprus
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Highlight rows based on Duplicate with conditions

    Thanks a lot to both of you !!

+ 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