在Excel中突出显示重复的值 [英] Highlight duplicate values in excel

查看:154
本文介绍了在Excel中突出显示重复的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要突出显示Excel中从单元格到列表的重复值.

这里是输入单元格(在一个单元格中)

  1A-伦敦,珀斯,都柏林 

要比较的列表

  2A巴黎3A伦敦4A纽约5A都柏林珀斯6A华盛顿7A孟买8A9A莫纳科10A都柏林11A上海伦敦12A 

我需要突出显示重复的值.例如.伦敦,珀斯和都柏林应该突出显示(都柏林和伦敦出现两次,因此应该突出显示两次)

解决方案

尝试使用以下公式有条件地格式化 A2:A12

= IF(ISERROR(SEARCH("*"& $ A2&"*",$ A $ 1)> 0),FALSE,TRUE)(请参见下面的屏幕截图).

I need to highlight the duplicate values from a cell to a list in excel.

Here is the input cell(In One cell)

1A - London,Perth,Dublin

List to compare

2A  Paris
3A  London
4A  New York
5A  Dublin
6A  Perth
7A  Washington
8A  Mumbai
9A  Monacco
10A Dublin
11A Shanghai
12A London

I need to highlight the duplicate values. Eg. London, Perth and Dublin Should get Highlighted(Dublin & London appears twice so it should be highlighted twice)

解决方案

Try conditionally formatting A2:A12 with the following formula:

=IF(ISERROR(SEARCH("*"&$A2&"*", $A$1)>0), FALSE, TRUE) (see screenshots below).

这篇关于在Excel中突出显示重复的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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