Note how the values of the highlighted cells in Column A are repeated in Column B. Preview of workbook after Conditional Formatting has been set The conditional formatting rule then will be applied to all values of the column and should look like this. If you are happy with the formatting you have specified click OK. You will be redirected back to the New Formatting Rule window and will be given a preview of the formatting you have selected. After having specified the format you want click OK. Change the cell color by clicking on the Fill tab and selecting a colorħ. It is possible to set a different cell color for duplicate values by clicking the Fill tab and selecting a background color. Click on the Format button and specify the format you want to set. =countif($B:$B, $A1) Enter the formula provided in the text boxĦ. Proceed by entering the following formula in the ‘ Format values where this formula is true‘ box: Select the ‘Use a formula to determine which cells to format’ optionĥ. Select ‘ Use a formula to determine which cells to format‘ as a rule in the New Formatting Rule window. Select New Rule from the Conditional Formatting drop-down listĤ. Select the New Rule option from the Conditional Formatting button drop-down list. Select the Conditional Formatting button under the Home tabģ. Select the Conditional Formatting button on the Home tab.
![how to find duplicates in excel how to find duplicates in excel](https://www.howtogeek.com/wp-content/uploads/2009/05/Select_Section.png)
Highlight column A by clicking the column headerĢ.
![how to find duplicates in excel how to find duplicates in excel](https://www.exceltip.com/wp-content/uploads/2015/06/01.png)
Click on the Column Header to highlight Column A.
#How to find duplicates in excel how to#
In this tutorial I will show you how to compare two columns in Excel so that the values that appear in both columns become highlighted and you can do something with those duplicate values.