+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting duplicate data in columns

  1. #1
    Registered User
    Join Date
    06-11-2013
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2007
    Posts
    3

    Conditional Formatting duplicate data in columns

    Hi,
    I'm looking for a formula that will identify duplicate data from multiple columns. The format should only apply if each of the data in the selected columns are duplicated in subsequent rows. In the attached data set, Columns A, B, and E are the critical information that define a "duplicate". Some other data in the columns are duplicates, but not mutually exclusive. The conditions should dictate:

    "If the data in columns A, B, and E are duplicated in subsequent rows, then highlight the rows where this information occurs"
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Conditional Formatting duplicate data in columns

    hi there, welcome to the forum. select the range you want to apply to (say from A2:P323)
    go to Home -> Conditional Formatting -> New Rule -> Use a formula to determine which cells to format -> Format values where this formula is true:
    =COUNTIFS($A$2:$A$323,$A2,$B$2:$B$323,$B2,$E$2:$E$323,$E2)>1

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    06-11-2013
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Conditional Formatting duplicate data in columns

    This doesn't work consistently. Sometimes it will highlight rows when only 2 or 3 of the cells are duplicated. I had to expand the formula above to include columns C and D. I used the same format, establishing the range and cell to compare, but it doesn't seem to work right.

+ 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