+ Reply to Thread
Results 1 to 6 of 6

Highlight columns with duplicates

Hybrid View

forestview Highlight columns with... 08-10-2020, 09:29 AM
BMV Re: Highlight columns with... 08-10-2020, 09:43 AM
ChemistB Re: Highlight columns with... 08-10-2020, 09:45 AM
BMV Re: Highlight columns with... 08-10-2020, 10:32 AM
CARACALLA Re: Highlight columns with... 08-10-2020, 10:36 AM
forestview Re: Highlight columns with... 08-10-2020, 10:47 AM
  1. #1
    Forum Contributor
    Join Date
    07-16-2015
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    121

    Highlight columns with duplicates

    Hi

    I have columns with NAMES and DOBS which i initially filtered by date order and used CF to show duplicates, due to it being a large sheet with many rows of school children in the same year there are a lot of duplicates, i would like to know how i can highlight the other columns if they also duplicate accordingly.

    Thanks

    Please see attached sample

    Forestview
    Attached Files Attached Files

  2. #2
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Highlight columns with duplicates

    Use the formula in the conditional format
    =COUNTIFS($A$13:$A$19,$A13,$B$13:$B$19,$B13,$D$13:$D$19,$D13)-1

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Highlight columns with duplicates

    Clever BMV but that would only work for duplicates so if someone shows up 3 times, it won't register. I'd go with
    Formula: copy to clipboard
    =COUNTIFS($A$13:$A$19,$A13,$B$13:$B$19,$B13,$D$13:$D$19,$D13)>1
    unless, of course, the OP is sure there are no triplicates.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Highlight columns with duplicates

    @ChemistB. - 1 or >1 it is the same because SUMIFS can't return 0, 1- 1=0 =False and 2,3.... -1=1,2..... looks like as TRUE.

  5. #5
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,986

    Re: Highlight columns with duplicates

    Use the formula in the conditional format

    =AND(A13<>"",SUMPRODUCT(--($A$13:$A$100&$B$13:$B$100&$D$13:$D$100=$A13&$B13&$D13))>1)

    applies to =$A$13:$D$100

  6. #6
    Forum Contributor
    Join Date
    07-16-2015
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: Highlight columns with duplicates

    Thanks to you both for the assistance, i used your formula ChemistB as there may be triplicates

    Kind Regards

    Forestview

+ 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. [SOLVED] Highlight duplicates between 2 columns
    By dawondr in forum Excel General
    Replies: 3
    Last Post: 08-10-2018, 11:30 AM
  2. [SOLVED] Highlight duplicates in two columns by Conditional Formatting
    By Max_excel in forum Excel General
    Replies: 11
    Last Post: 04-17-2018, 04:46 AM
  3. Highlight duplicates, multiple columns
    By ChrisLN in forum Excel General
    Replies: 2
    Last Post: 11-04-2016, 05:57 AM
  4. [SOLVED] Highlight Duplicates Between Multiple Columns
    By WorkwearExp in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-10-2014, 08:12 AM
  5. How to compare two columns and highlight and rows containing duplicates
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-12-2014, 04:47 PM
  6. Highlight Duplicates from Two Columns with Different Colours
    By ddgacic in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-24-2012, 06:22 AM
  7. find duplicates in two columns and highlight whole row
    By stryker9603 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-22-2010, 01:46 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