佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1895|回复: 10

[Ms Excel]怎样找重叠(Duplicate)的Data?

[复制链接]
发表于 6-2-2007 03:37 PM | 显示全部楼层 |阅读模式
小弟有一个问题,有谁知道怎样找重叠(Duplicate)的Data 在Ms Excel里面。
这里我放一个例子。
1200000205632
2200000205660
3200000205821
4200000205993
5200000206027
6200000206095
7200000206095
8200000206552
9200000206680
10200000206782
11200000206855
12200000206856
13200000206867
14200000206893
15200000206949
16200000206950
17200000206952
18200000206981
19200000206982
20200000206984
21200000207019


有什么方法找出6,7是重叠(Duplicate)的。因为我有时候要从几万data里面找出重叠的。很麻烦如果一个一个查。

帮帮我啊。。。

感恩。。。
回复

使用道具 举报


ADVERTISEMENT

发表于 6-2-2007 06:46 PM | 显示全部楼层
用意是要把从叠的删除吗?
回复

使用道具 举报

发表于 6-2-2007 07:33 PM | 显示全部楼层
select columename,count(columename) from [Sheet1$B1:B21]  where count(columename)>1 group by columename
回复

使用道具 举报

 楼主| 发表于 7-2-2007 09:09 AM | 显示全部楼层
原帖由 friday 于 6-2-2007 06:46 PM 发表
用意是要把从叠的删除吗?



不是要删除,是要把它找出来。。

谢谢你的回复。。。
回复

使用道具 举报

 楼主| 发表于 7-2-2007 09:11 AM | 显示全部楼层
原帖由 tensaix2j 于 6-2-2007 07:33 PM 发表
select columename,count(columename) from   where count(columename)>1 group by columename


谢谢你的回复。。。

我要把这些指令放在那里呢?

对不起,我是ms excel新手。。
回复

使用道具 举报

发表于 7-2-2007 09:24 AM | 显示全部楼层
很容易。You just use command countif. Example: you just type =countif(ur data range,cell data).eg. =countif(B2:B10,B2). Explans, means u compare the range from B2 to B10 with cell B2. after u typing 1 cell formula then u use ur mouse to drag it. If got duplicate data the formula will come out value 2. If the data more than 3 times the value will be 3. Anything still dun understand pls ask. Thanks.
回复

使用道具 举报

Follow Us
发表于 7-2-2007 09:47 AM | 显示全部楼层
如果只要找从叠,看看这个方法:
Column A              Column B
200000205632         =IF(COUNTIF($A$1:A1,A1)>1,"dup","ok") [把这formula往下拉或copy&paste)
200000205660         =IF(COUNTIF($A$1:A2,A2)>1,"dup","ok")
回复

使用道具 举报

发表于 7-2-2007 09:50 AM | 显示全部楼层
那有从叠就会出现 'dup'.如果只要看到从叠就把ok拿掉, 留"".
回复

使用道具 举报


ADVERTISEMENT

发表于 7-2-2007 09:52 AM | 显示全部楼层
then all u need to do is to sort column B descending to get all the duplicates records.
回复

使用道具 举报

 楼主| 发表于 7-2-2007 09:53 AM | 显示全部楼层
刚刚在microsoft的网页找到教学。。

很容易学。。。在这里跟大家分享一下。。

http://office.microsoft.com/en-us/excel/HA011366161033.aspx?pid=CL100570551033

我已经学会从5000个 data 里面找出重叠的资料了。。

以后可以不用一个一个查了。。。
回复

使用道具 举报

 楼主| 发表于 7-2-2007 09:56 AM | 显示全部楼层
一下子看到这么多热心朋友的回复

真的很感动。。。

谢谢你们。。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT


本周最热论坛帖子本周最热论坛帖子

ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 27-8-2025 05:57 AM , Processed in 0.110754 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表