Excel精英培训网

 找回密码
 注册
数据透视表40+个常用小技巧,让你一次学会!
查看: 2722|回复: 9

利用通配符进行查找

[复制链接]
发表于 2008-3-6 17:01 | 显示全部楼层 |阅读模式
本帖最后由 爱疯 于 2013-4-2 08:53 编辑 <br /><br /><P>【已答】呵,兰版书里的知识。。。模糊查找时需要使用通配符,通配符有“*”星号、“?”问号两种。</P>
<P>?是单个占位符, * 可是任意多个。写出如下8种查找内容的设置方法:<BR></P>
<P>以“EP”开始:</P>
<P>以“EP”开始、“EP”可在字符中任意位置:</P>
<P>包含“EP”:</P>
<P>以“EP”结束:</P>
<P>以“EP”结束、“EP”可在字符中任意位置:</P>
<P>查找“E”在第3个字符位置:</P>
<P>查找“P”在倒数第四个位置:</P>
<P>查找“*”或“?”:</P>
发表于 2008-3-6 17:12 | 显示全部楼层

<table cellspacing="0" cellpadding="0" width="72" border="0" xstr="" style="WIDTH: 54pt; BORDER-COLLAPSE: collapse;"><colgroup><col width="72" style="WIDTH: 54pt;"></col></colgroup><tbody><tr height="22" style="HEIGHT: 16.5pt;"><td width="72" height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 54pt; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">EP*</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">EP*EP*</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">*EP*</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">*EP</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">*EP*EP</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">??E</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">???P</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">~*,~P</font></td></tr></tbody></table>
回复

使用道具 举报

 楼主| 发表于 2008-3-6 17:31 | 显示全部楼层

<p>[em01]hai,真快,呵呵,别忘了单元格匹不匹配的情况。</p><p>再补充一点点?</p>[em07]
回复

使用道具 举报

 楼主| 发表于 2008-3-6 17:32 | 显示全部楼层

有的还需要实践一下下。。[em01]
回复

使用道具 举报

发表于 2008-3-6 19:25 | 显示全部楼层

<div class="msgheader">QUOTE:</div><div class="msgborder"><b>以下是引用<i>hai</i>在2008-3-6 17:12:00的发言:</b><br/><table cellspacing="0" cellpadding="0" width="72" border="0" xstr="" style="WIDTH: 54pt; BORDER-COLLAPSE: collapse;"><colgroup><col width="72" style="WIDTH: 54pt;"></col><col></col></colgroup><tbody><tr height="22" style="HEIGHT: 16.5pt;"><td width="72" height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 54pt; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">EP*</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">EP*EP*</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">*EP*</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">*EP</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">*EP*EP</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">??E</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">???P</font></td></tr><tr height="22" style="HEIGHT: 16.5pt;"><td height="22" style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; BORDER-BOTTOM: #ece9d8; HEIGHT: 16.5pt; BACKGROUND-COLOR: transparent;"><font face="新細明體">~*,~P</font></td></tr></tbody></table></div><p>hai题目你没有看仔细.</p>
回复

使用道具 举报

 楼主| 发表于 2008-3-6 20:20 | 显示全部楼层

高僧你看仔细了也不出手。。。[em06]
回复

使用道具 举报

发表于 2008-3-6 20:27 | 显示全部楼层

<div class="msgheader">QUOTE:</div><div class="msgborder"><b>以下是引用<i>衣衣</i>在2008-3-6 20:20:00的发言:</b><br/>高僧你看仔细了也不出手。。。[em06]</div><p>我不会,我只是看到他倒数第二个好象不对,而且hai已把很多都写出来.</p>
回复

使用道具 举报

 楼主| 发表于 2008-3-6 20:45 | 显示全部楼层

[em03]
回复

使用道具 举报

发表于 2008-3-6 20:50 | 显示全部楼层

我看是笔误而已
回复

使用道具 举报

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

<p>我的完整写法:</p><p>以“EP”开始: <font color="#ff0000">“EP*</font><font color="#ff0000">”并选取单元格匹配</font></p><p>以“EP”开始、“EP”可在字符中任意位置: <font color="#ff0000">“EP*”</font></p><p>包含“EP”:&nbsp;&nbsp; <font color="#ff0000">“EP”</font></p><p>以“EP”结束:&nbsp;&nbsp; <font color="#ff0000">“*EP”并选取单元格匹配</font></p><p>以“EP”结束、“EP”可在字符中任意位置:&nbsp; <font color="#ff0000">“*EP”</font></p><p>查找“E”在第3个字符位置:&nbsp; <font color="#ff0000">“???E”并</font><font color="#ff0000">选取单元格匹配</font></p><p>查找“P”在倒数第四个位置:&nbsp;&nbsp; <font color="#ff0000">“*P???”并选</font><font color="#ff0000">取单元格匹配</font></p><p>查找“*”或“?”:&nbsp;&nbsp; <font color="#ff0000">“~*”“~?”&nbsp; </font></p>
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-16 08:11 , Processed in 0.269363 second(s), 4 queries , Gzip On, Yac On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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