Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compare a column itself to check whether it have duplicated value in EXCEL

Tags:

excel

Suppose I have a column called item code as below:

-----  ------
|row|  |code|
-----  ------
|1  |  |A123|
-----  ------
|2  |  |B123|
-----  ------
|...|  |....|
-----  ------
|n  |  |A123|
-----  ------

The value in the column of code may appear more then one time, how can I use Excel formula or any method in Excel to check the duplicated record in a column?

Thanks

like image 905
Charles Yeung Avatar asked Nov 17 '11 01:11

Charles Yeung


People also ask

How do I compare data in one column in Excel to find duplicates?

Conditional FormattingNavigate to the "Home" option and select duplicate values in the toolbar. Next, navigate to Conditional Formatting in Excel Option. A new window will appear on the screen with options to select "Duplicate" and "Unique" values. You can compare the two columns with matching values or unique values.


1 Answers

Depending upon which version of Excel you are using, you may be able to achieve this with Conditional Formatting.

Excel 2007 has quick 3 click setup, for conditional formatting duplicates.

Update to include instructions from xQbert below:

Quick formatting

  • Select one or more cells in a range, table, or PivotTable report.
  • On the Home tab, in the Style group, click the arrow next to Conditional Formatting, and then click Highlight Cells Rules.
  • Select Duplicate Values. Enter the values that you want to use, and then select a format.
like image 97
Craig T Avatar answered Nov 15 '22 23:11

Craig T