Excel中的VLOOKUP函数8大经典用法大全,必定要保藏哦
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-axegupay5k/c5c3a20da61f4985909482cece754957~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=x%2FW8H%2FrzMpnY3q0V4ApCiaU66BA%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">点击下面名片,关注<span style="color: black;">咱们</span>,从此<span style="color: black;">更加多</span>Excel秘籍分享给您!</span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/f2fe32fa5c0044d0bfe58b5f224884a0~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=hJikazrT2CPmGjQoW3sOPNdTbpc%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;">Excel秘籍大全</span></strong></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">全网极具影响力excel精英培训、Excel杨公众号、Excel之家excelhome、Excel不加班,excel广场,秋叶Excel,为你<span style="color: black;">供给</span>Excel免费在线培训,Excel模板、教程,Excel函数公式大全,excel全套自学教程</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">534篇原创内容</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">公众号</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">Excel秘籍大全,前言</strong></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">在Excel中的公式非常多,要评选哪个是最应该<span style="color: black;">把握</span>的,相信<span style="color: black;">必定</span>绕<span style="color: black;">不外</span>VLOOKUP函数。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">说到VLOOKUP函数,只要是<span style="color: black;">运用</span>Excel的,相信对它<span style="color: black;">必定</span>不陌生,它的<span style="color: black;">运用</span>好处说多少都不为过,今天就重点给<span style="color: black;">大众</span>分享下VLOOKUP函数的<span style="color: black;">有些</span>常用的技巧。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">首要</span><span style="color: black;">咱们</span>先看下VLOOKUP函数的语法结构:VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)lookup_value:<span style="color: black;">查询</span>值table_array:<span style="color: black;">查询</span>的区域col_index_num:返回数据在<span style="color: black;">查询</span>区域的第几列range_lookup:匹配模式(0为精确<span style="color: black;">查询</span>,1为模糊<span style="color: black;">查询</span>)</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">Excel秘籍大全</span></span><span style="color: black;">,正文<span style="color: black;">起始</span></span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">1</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">普通<span style="color: black;">查询</span></span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">按照</span>姓名<span style="color: black;">查找</span>其姓名对应的销量,F2公式:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">=VLOOKUP(E2,$B$1:$C$15,2,0)</span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/fce277f73ca54795a996f26c614a323d~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=sm42Xp8I30VmyRmzc6wuGD%2Bk7%2Bs%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">E2:<span style="color: black;">查询</span>的内容,B1:C15为<span style="color: black;">查询</span>的区域(<span style="color: black;">重视</span>需按F4锁定),返回的列数为2,0<span style="color: black;">表率</span>的精确<span style="color: black;">查询</span>。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">2</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">屏蔽错误值错误值<span style="color: black;">查询</span></span></strong></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/976551668ac94d5eb344cf3227326ee1~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=xLty0Kz%2B4wEMnxRN8Glf7CTuMjw%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">=VLOOKUP(D2,A:B,2,0)</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">VLOOKUP函数<span style="color: black;">倘若</span><span style="color: black;">查询</span>不到对应值会<span style="color: black;">表示</span>错误值#N/A,这个看起来很不美观。<span style="color: black;">此时</span><span style="color: black;">能够</span>在外面加个容错函数IFERROR,<span style="color: black;">倘若</span>是2013版本那就更好,<span style="color: black;">能够</span>用IFNA函数,这个是专门处理#N/A这种错误值。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">=IFERROR(VLOOKUP(D2,A:B,2,0),"")=IFNA(VLOOKUP(D2,A:B,2,0),"")</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">函数语法:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">=IFERROR(表达式,错误值要<span style="color: black;">表示</span>的结果)</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">说白了<span style="color: black;">便是</span>将错误值<span style="color: black;">表示</span>成你想要的结果,不是错误值就返回原来的值。IFNA函数的<span style="color: black;">功效</span><span style="color: black;">亦</span>是<span style="color: black;">同样</span>,只是IFERROR函数是针对所有错误值,而IFNA函数只针对#N/A。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">3</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">逆向<span style="color: black;">查询</span></span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">VLOOKUP函数是<span style="color: black;">咱们</span>在<span style="color: black;">查找</span>数据时<span style="color: black;">运用</span>频率最高的一种函数,它本身是不支持逆向<span style="color: black;">查找</span>的,需要<span style="color: black;">协同</span>IF函数达到逆向<span style="color: black;">查找</span>的目的。如图1所示,<span style="color: black;">按照</span>薪资<span style="color: black;">查找</span>对应的员工姓名,其公式为:=VLOOKUP(H2,IF({1,0},F1:F8,A1:A8),2,0)。</span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/aabe97236df94f07816d456484d24fe6~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=Ezj64bjzHSYpTRd6N9j%2B5eU4AXc%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">图1</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">IF函数搭配数组{1,0},当{1,0}为1时,IF函数返回第二参数F1:F8,当{1,0}为0时,IF函数返回第三参数A1:A8,<span style="color: black;">这般</span>就从空间上构建了F1:F8和A1:A8<span style="color: black;">构成</span>的顺向数据区域,IF函数的<span style="color: black;">功效</span><span style="color: black;">便是</span>将<span style="color: black;">本来</span>逆向排布的数据区域进行顺向排布。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">4</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">按<span style="color: black;">次序</span>返回多列值内容</span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">例如</span>如下,<span style="color: black;">咱们</span>想<span style="color: black;">按照</span>工号,分别输出姓名和销量,要<span style="color: black;">怎样</span>快速实现呢?</span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/8fb9fffc0c4c4fcab6b1620289b49a41~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=%2BqzSO1Ibe2EBhpyUQBi1fZHGg4I%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">咱们</span><span style="color: black;">能够</span>在F2输入公式,<span style="color: black;">而后</span>向下向右填充<span style="color: black;">就可</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">=VLOOKUP($E2,$A$1:$C$15,COLUMN(B1),0)</span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/17d91b4648104644a95f33320a399de0~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=9DTDAC2UuapALqaSicex2iXC%2FpM%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">此公式的关键在于$E2的混合引用(列绝对引用,行相对引用),以及COLUMN函数返回的需要的列数。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">5</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">多<span style="color: black;">要求</span><span style="color: black;">查找</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">倘若</span>不想或<span style="color: black;">不可</span>改变数据源的格式,<span style="color: black;">或</span>想向同事展示一下自己的技能,就<span style="color: black;">不可</span><span style="color: black;">运用</span><span style="color: black;">第1</span>种<span style="color: black;">办法</span>。那就只能用第二种<span style="color: black;">办法</span>, Vlookup+if.</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">思路<span style="color: black;">便是</span>:</span></p>手工创建一个复合<span style="color: black;">要求</span>,将多个<span style="color: black;">要求</span>变成一个<span style="color: black;">要求</span>。手工创建一个复合数据列,将月份和姓名合并成一个数据列;<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">过程</span>1. 手工创建复合<span style="color: black;">要求</span>。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">和<span style="color: black;">第1</span>种<span style="color: black;">办法</span><span style="color: black;">同样</span>。在H2输入=I2&J2 。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">过程</span>2. 手工创建复合数据列。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">咱们</span><span style="color: black;">能够</span>利用if函数创建复合数据列。公式为IF({1,0},B:B&C:C,F:F)</span></p>B:B&C:C。是将月份列和姓名列合并成一列。F:F。是<span style="color: black;">查找</span>结果列If({1,0})。是将B:B&C:C和F:F和成两列数据。<span style="color: black;">第1</span>列是复合数据列B:B&C:C。第二列是<span style="color: black;">查找</span>结果列F:F<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">过程</span>3. 将以上手工创建的复合数据IF({1,0},B:B&C:C,F:F),代入Vlookup.</span></p>在K2输入=VLOOKUP(H2,<span style="color: black;">IF({1,0},B:B&C:C,F:F)</span>,2,0)并将光标移到公式编辑栏,按Ctrl+Shift+Enter键。<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">另一</span>,<span style="color: black;">过程</span>1<span style="color: black;">亦</span><span style="color: black;">能够</span>省略。公式直接改为</span></p>在K2输入=VLOOKUP(<span style="color: black;">I2&J2</span>,IF({1,0},B:B&C:C,F:F),2,0) ,并将光标移到公式编辑栏,按Ctrl+Shift+Enter键。<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">6</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">一对多<span style="color: black;">查找</span></span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">经过</span>一个公式怎么快速引用所有的结果值,<span style="color: black;">首要</span>要思考解题的思路。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">有了创建辅助列解答的经验,其实<span style="color: black;">咱们</span><span style="color: black;">能够</span></span><strong style="color: blue;"><span style="color: black;">借鉴countif函数获取一个<span style="color: black;">独一</span>值列表</span></strong><span style="color: black;">。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">但countif函数输出的是一个结果,<span style="color: black;">怎样</span>使一个结果转换成一个列表,则是问题的关键。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这里作者利用row函数来获取一个数字列表,<span style="color: black;">而后</span>结合indirect函数的单元格引用,来创建一个单元格列表,再利用countif函数计数时,将会得到一个数组结果。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">到了这一步,其实<span style="color: black;">已然</span>能够获取不重复的<span style="color: black;">独一</span>值列表。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">但语言描述太笼统,下面直接上公式:</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">=VLOOKUP(</span><span style="color: black;">$D$5&COLUMN(A1)</span>,<span style="color: black;">IF({1,0},$B$2:$B$29&</span><span style="color: black;">COUNTIF(INDIRECT("b2:b"&ROW($2:$29)),$D$5)</span><span style="color: black;">,$C$2:$C$29)</span>,2,0)</strong></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/c34386692330437498a720edf7cb3b35~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=c5X8r5Ii1MtJEz6zc4LtaH59xHs%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这个公式组合了if数组、countif、indirect和row函数,如上所讲,countif函数得到一个计数的数组结果时,<span style="color: black;">而后</span>直接与货号列进行合并,直接得到了与创建辅助列的结果相同的<span style="color: black;">查找</span>列表。</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">而后</span>利用if数组在vlookup函数中的应用,进行<span style="color: black;">查找</span>列和返回列的设置。从这一步来看,其实之前讲解的</span><strong style="color: blue;"><span style="color: black;">vlookup+if函数</span></strong><span style="color: black;">的两种用法,<span style="color: black;">亦</span>是这个案例中的一个解题要点!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">最后给vlookup的第1参数<span style="color: black;">查询</span>值连接上column函数,进行横向的动态引用。</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/38f94bc95338430f8bf7d75686b1ce4a~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=DdNTnsPxRIrwSEbAamnrctvlaP8%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">7</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">Vlookup+Match函数</span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">公式如下:</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">=VLOOKUP($H2,$A$2:$F$17,MATCH(I$1,$A$1:$F$1,0),0)</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/472ee6e956e745d2aecc8419617c64e3~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=X6Z8mQu%2FpEQWgZo9I9wypS9sgJg%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这个函数<span style="color: black;">亦</span>是非常简单的一个搭配,<span style="color: black;">倘若</span><span style="color: black;">无</span>看懂,<span style="color: black;">能够</span><span style="color: black;">瞧瞧</span>视频中的<span style="color: black;">仔细</span>解析!</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">8</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">Vlookup+通配符<span style="color: black;">查询</span></span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">举个例子,左边是员工工资表数据,<span style="color: black;">此刻</span>需要<span style="color: black;">按照</span>姓名的简<span style="color: black;">叫作</span>来快速匹配工资</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/ab322faa715b4fc4b89c5b93ab35839d~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=%2BhLK2lXHEUWWy8M3P6sDn%2B7mZtE%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">倘若</span><span style="color: black;">咱们</span>直接<span style="color: black;">运用</span>VLOOKUP公式是<span style="color: black;">查询</span>不出结果的,<span style="color: black;">由于</span><span style="color: black;">查询</span>值,和<span style="color: black;">查询</span>列数据不<span style="color: black;">同样</span></span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/56010a875ef949dfaf6621f4e7e353de~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=UojRaiqXzY%2FLThXSV0K4D1Dx0rM%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这个时候,<span style="color: black;">咱们</span>需要用到通配符*号,<span style="color: black;">暗示</span>任意多个字符,<span style="color: black;">咱们</span>用"*"&E2&"*"来<span style="color: black;">查询</span>,<span style="color: black;">暗示</span>悟空前面和后面都<span style="color: black;">能够</span>连接任意的字符,都能进行匹配出来</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">因此</span><span style="color: black;">运用</span>公式:</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">=VLOOKUP("*"&E2&"*",A:C,3,0)</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/1bd6997cc0fc4936a09ad5da6f3effac~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=eIvkYHw%2FBzVhas5Put0xrsPO%2BPo%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">需要<span style="color: black;">重视</span>的是,<span style="color: black;">倘若</span><span style="color: black;">咱们</span>的原数据中有多个满足的<span style="color: black;">要求</span>,那只会返回第1个结果,<span style="color: black;">例如</span><span style="color: black;">咱们</span>原始数据中有假悟空和孙悟空两个姓名,<span style="color: black;">由于</span><span style="color: black;">咱们</span>用的通配符,<span style="color: black;">因此</span>会找到第1个满足的<span style="color: black;">要求</span>,返回对应的结果。</span></span></p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/f475a954118449389e38b3e073e6a5ef~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1727967682&x-signature=L6xfGFV0mBqLoDC0NN6%2B50mAhRU%3D" style="width: 50%; margin-bottom: 20px;"></div>
你的见解真是独到,让我受益匪浅。
页:
[1]