
So this is how you can easily see which values are duplicate in different columns in Excel. Demonstration of how repeated values are highlighted Comparing the contents of 2 excel files (3 answers) Closed 8 years ago. Right click on the area highlighted and click on Conditional Formatting. I have manually highlighted the cells with identical values in Column B green for demonstrative purposes. Highlight the columns or rows that you want to locate duplicates in. 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. Step 1 Type the formula EXACT(A1,B1) in a helper column. After having specified the format you want click OK. To compare two columns for case-sensitive duplicates, use the EXACT function. 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ĥ. Figure 1 - Microsoft Excel icon Lab 1: Surveys and Excel Introduction Chapter 1 10 points. Select ‘ Use a formula to determine which cells to format‘ as a rule in the New Formatting Rule window. This is the first week of a two-week lab studying cell motion. 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. Highlight column A by clicking the column headerĢ. Click on the Column Header to highlight Column A.

#COMPARE TWO COLUMNS IN EXCEL TO FIND DUPLICATES 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.
