How can I highlight duplicate rows in Excel? 2

How can I highlight duplicate rows in Excel?

To highlight duplicate rows in Excel, you can use the conditional formatting tool. This allows you to automatically identify and highlight rows that have duplicate data. First, select the range of cells that you want to check for duplicates. Then, go to the Home tab and click on the Conditional Formatting option. From there, select the Highlight Cells Rules” and choose “Duplicate Values”. You can then choose the formatting style you want to use for the duplicate rows. This will make it easier to identify and manage any duplicate data in your Excel spreadsheet.

Highlight Duplicate Rows in Excel (With Example)


Often you may want to highlight rows in Excel if each value in the row is a duplicate of another row.

Fortunately this is easy to do using the New Rule feature within the Conditional Formatting options.

The following example shows how to do so.

Example: Highlight Duplicate Rows in Excel

Suppose we have the following dataset in Excel that contains information about various basketball players:

Suppose we would like to highlight the duplicate rows, i.e. the the rows with the exact same values in each column.

To do so, we can highlight the cell range A2:C11 and then click the Conditional Formatting icon on the Home tab along the top ribbon, then click New Rule from the dropdown menu:

In the new window that appears, click Use a formula to determine which cells to format and then type the following formula in:

=COUNTIFS($A$2:$A$11,$A2,$B$2:$B$11,$B2,$C$2:$C$11,$C2) >1

Then click the Format button and choose a color to use for the conditional formatting.

We’ll choose light green:

Lastly, click OK.

Each duplicate row in the dataset will now be highlighted:

Excel highlight duplicate rows

The following tutorials explain how to perform other common tasks in Excel:

Cite this article

stats writer (2024). How can I highlight duplicate rows in Excel?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-highlight-duplicate-rows-in-excel/

stats writer. "How can I highlight duplicate rows in Excel?." PSYCHOLOGICAL SCALES, 22 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-highlight-duplicate-rows-in-excel/.

stats writer. "How can I highlight duplicate rows in Excel?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-highlight-duplicate-rows-in-excel/.

stats writer (2024) 'How can I highlight duplicate rows in Excel?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-highlight-duplicate-rows-in-excel/.

[1] stats writer, "How can I highlight duplicate rows in Excel?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I highlight duplicate rows in Excel?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top