如何在Excel中查找重复条目

方法 1

方法 1 的 2:使用条件格式功能

WH.shared.addScrollLoadItem(‘ca5c03980764854b505caea081eb5e60’)

WH.performance.clearMarks(‘image1_rendered’); WH.performance.mark(‘image1_rendered’);{“smallUrl”:”https://www.wikihow.com/images_en/thumb/0/03/Find-Duplicates-in-Excel-Step-1-Version-7.jpg/v4-460px-Find-Duplicates-in-Excel-Step-1-Version-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/0/03/Find-Duplicates-in-Excel-Step-1-Version-7.jpg/v4-728px-Find-Duplicates-in-Excel-Step-1-Version-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
1
打开原始文件。你需要做的第一件事就是选中你想要用来比较重复项的所有数据。
WH.performance.mark(‘step1_rendered’);

WH.shared.addScrollLoadItem(‘e1c249ee5f23c40dcbc1c22836f49577’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/1/1b/Find-Duplicates-in-Excel-Step-2-Version-7.jpg/v4-460px-Find-Duplicates-in-Excel-Step-2-Version-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/1/1b/Find-Duplicates-in-Excel-Step-2-Version-7.jpg/v4-728px-Find-Duplicates-in-Excel-Step-2-Version-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
2
点击数据组左上角的单元格,开始选取数据操作。

WH.shared.addScrollLoadItem(’02e8294ef39a8f2705b84d96008a26a9′)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/3/37/Find-Duplicates-in-Excel-Step-3-Version-7.jpg/v4-460px-Find-Duplicates-in-Excel-Step-3-Version-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/3/37/Find-Duplicates-in-Excel-Step-3-Version-7.jpg/v4-728px-Find-Duplicates-in-Excel-Step-3-Version-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
3
按住Shift按键,点击最后一个单元格。注意,最后一个单元格位于数据组的右下角位置。这会全选你的数据。
你也可以换顺序选择单元格(例如,先点击右下角的单元格,再从那里开始标记选中其它单元格)。

WH.shared.addScrollLoadItem(‘55776efa2ce0538c290b652d7482efb8’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/5/52/Find-Duplicates-in-Excel-Step-5-Version-7.jpg/v4-460px-Find-Duplicates-in-Excel-Step-5-Version-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/5/52/Find-Duplicates-in-Excel-Step-5-Version-7.jpg/v4-728px-Find-Duplicates-in-Excel-Step-5-Version-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
4
点击“条件格式”。它位于工具栏的“开始”选项卡下(一般位于“样式”部分中)。
X
研究来源

点击它,会出现一个下拉菜单。

WH.shared.addScrollLoadItem(‘443dfaa36e43f2ff108d40d958bdc82c’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/3/36/Find-Duplicates-in-Excel-Step-6-Version-7.jpg/v4-460px-Find-Duplicates-in-Excel-Step-6-Version-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/3/36/Find-Duplicates-in-Excel-Step-6-Version-7.jpg/v4-728px-Find-Duplicates-in-Excel-Step-6-Version-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
5
选择“突出显示单元格规则”,然后选择“重复值”。 在进行此项操作时,确保你的数据处于选中状态。接着会出现一个窗口,里面有不同的自定义选项和对应的下拉设置菜单。[2]
X
研究来源

WH.shared.addScrollLoadItem(‘aeb826ff8e1819b1a7a6308673e37a41’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/f/fa/Find-Duplicates-in-Excel-Step-7-Version-6.jpg/v4-460px-Find-Duplicates-in-Excel-Step-7-Version-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/f/fa/Find-Duplicates-in-Excel-Step-7-Version-6.jpg/v4-728px-Find-Duplicates-in-Excel-Step-7-Version-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
6
从下拉菜单中选择“重复值”。
如果你想要程序显示所有不同的值,可以选择“唯一”。

WH.shared.addScrollLoadItem(‘018afa671ff736fa49165adb7bee8cf6’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/1/16/Find-Duplicates-in-Excel-Step-8-Version-7.jpg/v4-460px-Find-Duplicates-in-Excel-Step-8-Version-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/1/16/Find-Duplicates-in-Excel-Step-8-Version-7.jpg/v4-728px-Find-Duplicates-in-Excel-Step-8-Version-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
7
选择填充文本的颜色。这样所有重复值的文本颜色就会变成你选择的颜色,以突出显示。默认颜色是深红色。[3]
X
研究来源

WH.shared.addScrollLoadItem(‘0be7e9793479623493f7b5e9f5f4e60f’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/0/08/Find-Duplicates-in-Excel-Step-9-Version-7.jpg/v4-460px-Find-Duplicates-in-Excel-Step-9-Version-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/0/08/Find-Duplicates-in-Excel-Step-9-Version-7.jpg/v4-728px-Find-Duplicates-in-Excel-Step-9-Version-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
8
点击“确定”来浏览结果。

WH.shared.addScrollLoadItem(‘f33b574a7603fbbd7e2e0d98fd6465dd’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/b/b8/Find-Duplicates-in-Excel-Step-10-Version-7.jpg/v4-460px-Find-Duplicates-in-Excel-Step-10-Version-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/b/b8/Find-Duplicates-in-Excel-Step-10-Version-7.jpg/v4-728px-Find-Duplicates-in-Excel-Step-10-Version-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
9
选择重复值,按下删除按键来删除它们。如果每个数据代表不同的含义(如:调查结果),那么你不能删除这些数值。
当你删除重复值后,与之配对的数据就会失去高亮标记。

WH.shared.addScrollLoadItem(‘6e9918fb817b699ce741b272a48c4df4’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/9/9e/Find-Duplicates-in-Excel-Step-11-Version-7.jpg/v4-460px-Find-Duplicates-in-Excel-Step-11-Version-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/9/9e/Find-Duplicates-in-Excel-Step-11-Version-7.jpg/v4-728px-Find-Duplicates-in-Excel-Step-11-Version-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
10
再次点击“条件格式”。无论你是否删除重复值,你都应该在退出文档前删除高亮标记。

WH.shared.addScrollLoadItem(‘2be305ce05eac15fafef4d85415a1af1’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/4/4f/Find-Duplicates-in-Excel-Step-12-Version-7.jpg/v4-460px-Find-Duplicates-in-Excel-Step-12-Version-7.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/4/4f/Find-Duplicates-in-Excel-Step-12-Version-7.jpg/v4-728px-Find-Duplicates-in-Excel-Step-12-Version-7.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
11
选择“清除规则”,然后选择“清除整个工作表的规则”来清除格式。这就会移除对剩余重复数据的高亮标记。[4]
X
研究来源

如果工作表里有多个部分,可以选择特定的区域,然后选择“清除所选单元格的规则”来移除它们的高亮标记。

WH.shared.addScrollLoadItem(‘603a7f174f8402ca15af0367f3d5a2d8’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/a/a5/Find-Duplicates-in-Excel-Step-13-Version-6.jpg/v4-460px-Find-Duplicates-in-Excel-Step-13-Version-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/a/a5/Find-Duplicates-in-Excel-Step-13-Version-6.jpg/v4-728px-Find-Duplicates-in-Excel-Step-13-Version-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
12
保存对文档的更改。此时,你已成功找到并删除工作表里的重复项了!

WH.ads.addBodyAd(‘method_ad_1’)

广告

WH.ads.addBodyAd(‘mobilemethod_ad_1’)

方法 2

方法 2 的 2:使用Excel中的删除重复项功能

WH.shared.addScrollLoadItem(‘4d1ac6962e1788c55965007b6d60e69f’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/5/56/Find-Duplicates-in-Excel-Step-14-Version-6.jpg/v4-460px-Find-Duplicates-in-Excel-Step-14-Version-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/5/56/Find-Duplicates-in-Excel-Step-14-Version-6.jpg/v4-728px-Find-Duplicates-in-Excel-Step-14-Version-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
1
打开原始文件。你需要做的第一件事就是选中你想要用来比较重复项的所有数据。

WH.shared.addScrollLoadItem(‘d98b12c7e359a25ca12e0b37255eaf0e’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/d/d2/Find-Duplicates-in-Excel-Step-15-Version-6.jpg/v4-460px-Find-Duplicates-in-Excel-Step-15-Version-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/d/d2/Find-Duplicates-in-Excel-Step-15-Version-6.jpg/v4-728px-Find-Duplicates-in-Excel-Step-15-Version-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
2
点击数据组左上角的单元格,开始选取数据操作。

WH.shared.addScrollLoadItem(‘6ae21eec1415254df1c0d3aa3c79859b’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/e/ec/Find-Duplicates-in-Excel-Step-16-Version-6.jpg/v4-460px-Find-Duplicates-in-Excel-Step-16-Version-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/e/ec/Find-Duplicates-in-Excel-Step-16-Version-6.jpg/v4-728px-Find-Duplicates-in-Excel-Step-16-Version-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
3
按住Shift按键,点击最后一个单元格。最后一个单元格位于数据组的右下角位置。这会全选你的数据。
你也可以换顺序选择单元格(例如,先点击右下角的单元格,再从那里开始标记选中其它单元格)。

WH.shared.addScrollLoadItem(‘0f2c94fb2ca29d4a81a66f30f71eef7c’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/e/ed/Find-Duplicates-in-Excel-Step-17-Version-6.jpg/v4-460px-Find-Duplicates-in-Excel-Step-17-Version-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/e/ed/Find-Duplicates-in-Excel-Step-17-Version-6.jpg/v4-728px-Find-Duplicates-in-Excel-Step-17-Version-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
4
点击屏幕顶部的“数据”选项卡。

WH.shared.addScrollLoadItem(‘c8491c720325a5e845dd62e67ff532bb’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/f/f2/Find-Duplicates-in-Excel-Step-18-Version-6.jpg/v4-460px-Find-Duplicates-in-Excel-Step-18-Version-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/f/f2/Find-Duplicates-in-Excel-Step-18-Version-6.jpg/v4-728px-Find-Duplicates-in-Excel-Step-18-Version-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
5
找到工具栏里的“数据工具”部分。这个部分里有多个可以操纵选中数据的工具,包括“删除重复项”功能。

WH.shared.addScrollLoadItem(‘a0b475d386f7abebc754804189333dfc’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/2/25/Find-Duplicates-in-Excel-Step-19-Version-6.jpg/v4-460px-Find-Duplicates-in-Excel-Step-19-Version-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/2/25/Find-Duplicates-in-Excel-Step-19-Version-6.jpg/v4-728px-Find-Duplicates-in-Excel-Step-19-Version-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
6
点击“删除重复项”。 这会打开自定义窗口。

WH.shared.addScrollLoadItem(‘4f44322fcfaaaeb7d13cddabdbd0969c’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/7/7d/Find-Duplicates-in-Excel-Step-20-Version-6.jpg/v4-460px-Find-Duplicates-in-Excel-Step-20-Version-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/7/7d/Find-Duplicates-in-Excel-Step-20-Version-6.jpg/v4-728px-Find-Duplicates-in-Excel-Step-20-Version-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
7
点击“全选”。 这会确认选择表格里所有的数据栏。[5]
X
研究来源

WH.shared.addScrollLoadItem(‘714623e5ac24d88a6c986f42970cee9c’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/b/b6/Find-Duplicates-in-Excel-Step-21-Version-6.jpg/v4-460px-Find-Duplicates-in-Excel-Step-21-Version-6.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/b/b6/Find-Duplicates-in-Excel-Step-21-Version-6.jpg/v4-728px-Find-Duplicates-in-Excel-Step-21-Version-6.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
8
勾选你想要使用该工具的数据栏。默认设置是勾选所有的数据栏。

WH.shared.addScrollLoadItem(‘299456af89d7c225c151e716d2d1f575’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/1/12/Find-Duplicates-in-Excel-Step-22-Version-5.jpg/v4-460px-Find-Duplicates-in-Excel-Step-22-Version-5.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/1/12/Find-Duplicates-in-Excel-Step-22-Version-5.jpg/v4-728px-Find-Duplicates-in-Excel-Step-22-Version-5.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
9
如果合适的话,点击“数据包含标题”选项。这会让程序把每一栏的第一项标记为标题,然后将它们排除删除操作的范围。

WH.shared.addScrollLoadItem(‘1e28b4495256b71034911345944c7276’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/b/b4/Find-Duplicates-in-Excel-Step-23-Version-5.jpg/v4-460px-Find-Duplicates-in-Excel-Step-23-Version-5.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/b/b4/Find-Duplicates-in-Excel-Step-23-Version-5.jpg/v4-728px-Find-Duplicates-in-Excel-Step-23-Version-5.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
10
点击“确定”来删除重复项。如果你满意各项设置,点击“确定”。程序会自动删除选中部分的重复值。
如果程序告诉你其中没有任何重复项–而你确定其中有重复值–尝试勾选“删除重复项”窗口中的各个数据列。浏览每一列的排除结果,看看问题出在哪。

WH.shared.addScrollLoadItem(‘2f000b7d4b5358a4bd85cb2931420c4f’)

{“smallUrl”:”https://www.wikihow.com/images_en/thumb/6/66/Find-Duplicates-in-Excel-Step-24-Version-5.jpg/v4-460px-Find-Duplicates-in-Excel-Step-24-Version-5.jpg”,”bigUrl”:”https://www.wikihow.com/images/thumb/6/66/Find-Duplicates-in-Excel-Step-24-Version-5.jpg/v4-728px-Find-Duplicates-in-Excel-Step-24-Version-5.jpg”,”smallWidth”:460,”smallHeight”:345,”bigWidth”:728,”bigHeight”:546,”licensing”:”

“}
11
保存对文档的更改。此时,你已成功找到并删除工作表里的重复项了!

广告

WH.ads.addBodyAd(‘mobilemethod_ad_2’)

发表评论

您的电子邮箱地址不会被公开。