+ Reply to Thread
Results 1 to 6 of 6

Need a macro to highlight Rows that contain a duplicate for each column of a data range

  1. #1
    Registered User
    Join Date
    10-08-2013
    Location
    London,UK
    MS-Off Ver
    Excel 2013
    Posts
    3

    Need a macro to highlight Rows that contain a duplicate for each column of a data range

    Please can anyone help me with a micro that highlights rows in a range whereby most of the columns (i.e 5 of 8 columns ) or the entire row contains a duplicate entries for every column. See rows 1 & 2 of the example data below. Row 3 shouldn't be highlighted.

    Example data:
    A B C D E F G H
    1 N/A N/A N/A N/A N/A N/A N/A N/A
    2 NK NK NK NK NK NK NK NK
    3 N/A N/A cif n/a cif dell Rbd Sbc

    I really appreciate any help you can provide,

    Mo

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Need a macro to highlight Rows that contain a duplicate for each column of a data rang

    Please attach a sample workbook with enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Note: Please don't attach documents containing confidential data like (address, telephone, ID#s, etc.).


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    10-08-2013
    Location
    London,UK
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Need a macro to highlight Rows that contain a duplicate for each column of a data rang

    Thank you for the quick response Sixthsense.

    I have attached an excel file (data), with before and after sheets.
    What I would like to get is a micro that would highlight rows that
    have a duplicate for each of the columns in the range, or highlight
    rows that have a duplicate for >=50% of the columns,or rows that haveless than 4 different items.

    Regards,

    Mo
    Attached Files Attached Files
    Last edited by MoHassan; 10-21-2013 at 10:26 AM.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Need a macro to highlight Rows that contain a duplicate for each column of a data rang

    Try this code…

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-08-2013
    Location
    London,UK
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Need a macro to highlight Rows that contain a duplicate for each column of a data rang

    God bless and thank you Sixthsense Brilliant job..

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Need a macro to highlight Rows that contain a duplicate for each column of a data rang

    Glad it helps you and thanks for the Wishes/Feedback and rep

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Highlight duplicate rows based on column A but be case sensitive
    By theblade24 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-18-2013, 06:14 PM
  2. Need macro that will group rows with duplicate data in a particular column together
    By MineThatBird in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-08-2013, 07:32 PM
  3. [SOLVED] Highlight duplicate numbers in rows and coloumns from a different range.
    By dazd1970 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-21-2013, 09:23 AM
  4. Highlight duplicate rows without helper column
    By tone640 in forum Excel General
    Replies: 5
    Last Post: 08-23-2011, 08:21 AM
  5. Replies: 0
    Last Post: 07-22-2011, 12:11 PM

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