Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to highlight duplicate rows across multiple columns in Excel?

For instance, if there is a range of values, how can you quickly highlight the duplicate rows across these multiple columns as below screenshot shown? In this article, I introduce some tricks on solving this job in Excel.
doc highlight duplicate across columns 1

Highlight duplicate rows across columns by Conditional Formatting

Highlight duplicate rows across columns by Kutools for Excelgood idea3


Select Duplicate & Unique Cells (quickly select duplicate or unique values in a column.

doc highlight duplicate across columns 6


You can highlight duplicate rows across columns by applying a formula in Conditional Formatting function.

1. Select the data range, click Home > Conditional Formatting > New Rule. And in the popping New Formatting Rule dialog, select Use a formula to determine which cells to format, and paste this formula =COUNTIFS($A$2:$A$10,$A2,$B$2:$B$10,$B2,$C$2:$C$10,$C2)>1 into the Format values where this formula is true box. See screenshot:
doc highlight duplicate across columns 2

2. Click Format in the New Formatting Rule dialog to open the Format Cells dialog. In the dialog, click Fill tab, and select one background color that you want to highlight the duplicate rows with. See screenshot:
doc highlight duplicate across columns 3

3. Click OK > OK to close dialogs, and now the duplicate rows across multiple columns have been highlighted with the specified filled color. See screenshot:
doc highlight duplicate across columns 4

Note: in the formula, A2:A10, B2:B10 and C2:C10 are the column ranges you work, you can change them as you need.


If there are dozens of columns you want to work with, the Conditional Formatting would not be a good choice to solve this job. However, you can apply Kutools for Excel’s Select Duplicate & Unique Cells utility to quickly highlight the rows across dozens of columns.

Kutools for Excel, with more than 120 handy functions, makes your jobs easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

1. Select the data range, click Kutools > Select > Select Duplicate & Unique Cells. See screenshot:
doc highlight duplicate across columns 5

2. In the Select Duplicate & Unique Cells dialog, check Duplicates (Except 1st one) or All duplicates (Including 1st one) options as you need, and go to Processing of results section to specify the highlighting color and font color. Click Ok, and a dialog pops out to remind you the number of selected duplicate rows. See screenshot:
doc highlight duplicate across columns 6

3. Click OK, now the duplicate rows have been highlighted. See screenshot:
doc highlight duplicate across columns 78

Tip. If you want to have a free trial of the Select Duplicate & Unique Cells function, please go tofree download Kutools for Excel first, and then go to apply the operation according above steps.


arrow blue right bubbleDemo


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Shosh · 9 months ago
    Thanks so much for this! When there is a duplicate, how can i have the 2nd occurrence highlighted instead of the 1st one? (when using regular excel). Thanks so much
    • To post as a guest, your comment is unpublished.
      Sunny · 8 months ago
      Hello Shosh, you can use this formula =COUNTIF($A$2:$A2, A2)>1 in the Conditional formatting rule, it will highlighted all duplicates except the first one. Hope it can help you.
  • To post as a guest, your comment is unpublished.
    Hari khanal · 1 years ago
    Sir, if you change the date of kate from 1/1/2016 to 1/2/2016 cell will be highlighted or not.... what i want is if date,name, and score are.same then highlight. If date is same name is same but score is different then should not be highlight. Please help.
    • To post as a guest, your comment is unpublished.
      Sunny · 1 years ago
      Both the above methods can work for your problem.