Excel精英培训网

 找回密码
 注册
数据透视表40+个常用小技巧,让你一次学会!
楼主: 喵喵

[习题] 【V入2期】实战练习五-筛选重复(数组)

[复制链接]
发表于 2008-7-6 19:48 | 显示全部楼层

游客,如果您要查看本帖隐藏内容请回复
excel精英培训的微信平台,每天都会发送excel学习教程和资料。扫一扫明天就可以收到新教程
回复

使用道具 举报

发表于 2008-7-22 14:20 | 显示全部楼层

游客,如果您要查看本帖隐藏内容请回复
回复

使用道具 举报

发表于 2008-7-22 22:40 | 显示全部楼层
回复

使用道具 举报

发表于 2008-8-20 00:39 | 显示全部楼层

ddddddddddddddddddddddddddddddddd
回复

使用道具 举报

发表于 2008-10-26 16:17 | 显示全部楼层

<p>学习</p>
回复

使用道具 举报

发表于 2008-12-13 12:17 | 显示全部楼层

hei
回复

使用道具 举报

发表于 2008-12-14 17:14 | 显示全部楼层

<p>学习下子,数组一直绕不出[em04].用字典写了个.</p><p>Sub test()<br/>Dim odic As Object<br/>Set odic = CreateObject("scripting.dictionary")<br/>Dim arow%, i%, x<br/>arow = Range("a65536").End(xlUp).Row<br/>For i = 2 To arow<br/>&nbsp;&nbsp;&nbsp; odic(Left(Cells(i, 1), Len(Cells(i, 1)) - 4)) = i<br/>Next i<br/>&nbsp; For i = 2 To arow<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x = odic(CStr(Cells(i, 2)))<br/>&nbsp;&nbsp;&nbsp; If x &lt;&gt; "" Then<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(i, 3) = "有"<br/>&nbsp;&nbsp;&nbsp;&nbsp; Else<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cells(i, 3) = "无"<br/>&nbsp;&nbsp;&nbsp; End If<br/>&nbsp; Next i<br/>End Sub</p>
[此贴子已经被作者于2008-12-14 18:03:35编辑过]
回复

使用道具 举报

发表于 2008-12-19 16:07 | 显示全部楼层

<p>回贴学习!</p>
回复

使用道具 举报

发表于 2008-12-23 16:30 | 显示全部楼层

op
回复

使用道具 举报

发表于 2009-12-6 01:14 | 显示全部楼层

谢谢
回复

使用道具 举报

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

本版积分规则

小黑屋|手机版|Archiver|Excel精英培训 ( 豫ICP备11015029号 )

GMT+8, 2024-5-14 18:47 , Processed in 0.271028 second(s), 7 queries , Gzip On, Yac On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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