Excel - Find & Highlight Duplicate Rows - 3 Methods | Conditional Formatting

Posted on:  09/05/2021
Excel - Find & Highlight Duplicate Rows - 3 Methods | Conditional Formatting

Microsoft Excel can find duplicates easily with Conditional Formatting. The issue is Conditional Formatting finds duplicates based on the cell value, but I want to find duplicate rows. I use three methods in the video to find duplicate rows.

Excel conditional formatting - duplicates

Excel conditional formatting - duplicates are based on cell value, not row values.

Duplicates using Conditional Formatting in Excel

Duplicates cell values using Conditional Formatting in Excel

In the video below, I start off with CONCATENATE, then use the TEXTJOIN function, and finally COUNTIFS with no helper column. To highlight the rows I use Conditional Formatting using a formula.

YouTube video

Other Excel articles


Method 1

Use CONCATENATE, one of the text functions, to join two or more text strings into one string. You can use an ampersand also which I use in the video.

Example: cell A2 has Chris and cell B2 contains Menard. =a2&" "&B2 will return Chris Menard in cells C2.  Same example but using CONCATENTATE, you would type in cell C2, =CONCATENTATE(A2," ",B2) to get Chris Menard.

Concatenate using an ampersand in Excel

Concatenate using an ampersand in Excel

CONCATENATE Function in Excel



Method 2

The TEXTJOIN function combines the text from multiple ranges and/or strings, and includes a delimiter you specify between each text value that will be combined. If the delimiter is an empty text string, this function will effectively concatenate the ranges.

Who has TEXTJOIN Function in Excel?

  • Office 2019 Windows
  • Office 2019 Mac
  • Microsoft 365 subscriber
TEXTJOIN Function in Excel

TEXTJOIN Function in Excel

Conditional Formatting with COUNTIFS Function

Method 3

The two methods I used earier - CONCATENTATE and TEXTJOIN - required a helper column. This 3rd method uses Conditional Formatting with the COUNTIFS function. This is the longest method, but a helper column in not required.

The formula I wrote for COUNTIFS inside on Conditional Formatting is 


  1. Select A2 to G15 or the range.
  2. Click Conditonal Formatting - New Rule.
  3. Select Use a formula to determine which cells to format.
  4. Type the function above or copy and paste it.
  5. Click Format and pick a color.
  6. Click OK twice.
Conditional Formatting with COUNTIFS for Duplicate Rows

Conditional Formatting with COUNTIFS for Duplicate Rows

Other Excel articles

Chris Menard

Chris Menard is a Microsoft Certified Trainer (MCT) and is employed full-time as a Trainer for BakerHostetler, one of the nation’s largest law firms. Menard has a YouTube channel with other 750 technology videos covering Excel, Word, Zoom, Teams, Outlook, Gmail, Google Calendar, and other resources that over 10 million viewers have appreciated.