How to change color duplicate rows in Excel

Sometimes duplicate data is useful, sometimes it just makes it harder to understand your data. Use conditional formatting to find and highlight duplicate data. That way you can review the duplicates and decide if you want to remove them.

  1. Select the cells you want to check for duplicates.

    Note:Excel cant highlight duplicates in the Values area of a PivotTable report.

  2. Click Home > Conditional Formatting > Highlight Cells Rules > Duplicate Values.

    How to change color duplicate rows in Excel

  3. In the box next to values with, pick the formatting you want to apply to the duplicate values, and then click OK.

    How to change color duplicate rows in Excel

Remove duplicate values

When you use the Remove Duplicates feature, the duplicate data will be permanently deleted. Before you delete the duplicates, its a good idea to copy the original data to another worksheet so you dont accidentally lose any information.

  1. Select the range of cells that has duplicate values you want to remove.

    Tip: Remove any outlines or subtotals from your data before trying to remove duplicates.

  2. Click Data > Remove Duplicates, and then Under Columns, check or uncheck the columns where you want to remove the duplicates.

    How to change color duplicate rows in Excel

    For example, in this worksheet, the January column has price information I want to keep.

    How to change color duplicate rows in Excel

    So, I unchecked January in the Remove Duplicates box.

    How to change color duplicate rows in Excel

  3. Click OK.