Highlight Unique Duplicate Rows Across Columns

Highlight Unique Duplicate Rows Across Columns

In the below table few rows/students are repeating, the challenge is... need to highlight unique duplicate student across columns. Below we go step by step

No alt text provided for this image

We need to use two functions 1. CONCATENATE to Combine data of all columns and 2. COUNTIF to identify duplicate values. Below is the table with added two columns with formulas & Results

No alt text provided for this image
No alt text provided for this image

Here one can use simple conditional formatting in the COMBINE column to see duplicate values similar to below, which gives the answer of duplicate values. But could not highlight all columns and need to have an additional COMBINE column to see duplicates

No alt text provided for this image

Challenge is without showing additional column, need to highlight duplicates & across columns. Here we need to combine both CONCATENATE & COUNTIF functions in Conditional formatting. Let's go step by step

  1. Select data range - don't select titles
  2. Go to Conditional Formatting - New rule
No alt text provided for this image

3. Select 'Use a Formula to determine which cells to format'

4. Write COUNTIF formula as discussed above / as shown in the below picture.

5. After the Countif function - click on format and select the desired color, then click OK

No alt text provided for this image

6. Here is the result! Madavan & Vishnu are unique duplicate values, the same has been highlighted across columns

No alt text provided for this image

I hope this helps...thanks for reading.

Please do share & join Excel Pros!





To view or add a comment, sign in

More articles by Excel Pros

  • Uncommon But Useful Excel Shortcuts

    1. Open an Options Menu Alt + ↓ This shortcut can be used in several different situations.

  • Refresh your data in Pivot

    Here’s a worst-case scenario worthy of a horror film soundtrack: You’ve been working with your data for hours, and…

  • Look behind the scenes of your pivot table

    Here’s another pivot table technique that’s incredibly easy, yet it will save you tons of time and digging around…

  • Hide or Unhide subtotals

    We’ve already mentioned how Excel can save you some serious number crunching. But, this doesn’t just apply to the total…

  • Create multiple Pivot Tables from one

    When you want to break down your data even further, knowing how to split one pivot table into multiple tables is a…

  • Create a Calculated field In Pivot

    You know that Excel is a powerhouse when it comes to making calculations, and the ability to create a calculated field…

  • Slicers in Pivot Tables

    You've familiarized yourself with the basics of using pivot tables to summarize your data from the previous article…

  • Pivot Tables

    What is a Pivot Table? A pivot table is a summary of a large data set that generally includes total, average, minimum…

  • How to use Goal Seek in Excel

    In school days..

Insights from the community

Others also viewed

Explore topics