比较列本身以检查其在EXCEL中是否具有重复值 [英] Compare a column itself to check whether it have duplicated value in EXCEL

查看:102
本文介绍了比较列本身以检查其在EXCEL中是否具有重复值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我有一个名为项目代码的列如下:

Suppose I have a column called item code as below:

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

代码可能会出现一次,如何在Excel中使用Excel公式或任何方法检查列中的重复记录?

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?

谢谢

推荐答案

根据您使用的Excel版本,您可以使用条件格式化来实现。

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

Excel 2007具有快速3点击设置,用于条件格式复制。

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

更新以包含下面xQbert的说明:

Update to include instructions from xQbert below:

快速格式化


  • 选择范围,表格或数据透视表报表中的一个或多个单元格。

  • 在首页选项卡上的样式组中,单击条件格式设置旁边的箭头,然后单击突出显示单元格规则。

  • 选择重复的值。
    输入要使用的值,然后选择一种格式。

这篇关于比较列本身以检查其在EXCEL中是否具有重复值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆