4zhvml8 发表于 2024-10-1 15:13:57

分享几个常用的Excel函数公式


    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">小伙伴们好啊,今天咱们继续分享几个常用的Excel函数公式。</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;">1、按职务排序</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>F列的<span style="color: black;">目的</span><span style="color: black;">次序</span>,对B列的职务排序。</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;">D2单元格输入以下公式,向下复制。</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;">=MATCH(B2,F:F,0)</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;">再单击D列任意单元格,【数据】选项卡下点一下升序按钮<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-axegupay5k/405f8c6c42464c56a08e9b495e584af4~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1727970208&amp;x-signature=MVaXTxF6bIJOZ%2FI%2FiJ19PPJNkOc%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;">MATCH函数,在F列中<span style="color: black;">查找</span>B2单元格职务所处的相对位置,并返回<span style="color: black;">暗示</span>位置的数字。最后对这些数字进行升序排序,<span style="color: black;">最后</span>得到和F列相同的<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;"><strong style="color: blue;"><span style="color: black;">2、<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>A列的日期,返回该日期所属的季度。</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;">B2单元格输入以下公式,向下复制。</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;">=MATCH(MONTH(A2),{0,4,7,10})</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/d12ca9bf542a403ca96627eabdb0d83f~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1727970208&amp;x-signature=abUrHsmGE67iTFdmX1VmFJh71EQ%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>用MONTH函数计算出A2单元格所属的月份,结果为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 style="color: black;">运用</span>MATCH函数,计算该月份在常量数组{0,4,7,10}中所处的位置。{0,4,7,10},是各个季度的<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;">本例中MATCH函数省略了第三参数,其计算规则与<span style="color: black;">运用</span>参数1时相同,当<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;">MATCH函数在常量数组{0,4,7,10}中找不到5,<span style="color: black;">因此呢</span>以<span style="color: black;">少于</span>5的最接近值4进行匹配,并返回4在常量数组{0,4,7,10}中的位置,结果为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;">3、随机安排<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>对A列的应聘人员随机安排面试<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;">第1</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;">=SORTBY(A2:B11,RANDARRAY(10),1)</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/fd1df499d97c42aca6cff36fabd74546~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1727970208&amp;x-signature=r8r%2FCXLb1Jd7OkyDkX%2FnPYGfZYw%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;">RANDARRAY函数的<span style="color: black;">功效</span>是生成随机数数组,本例公式<span style="color: black;">运用</span>RANDARRAY(10),<span style="color: black;">暗示</span>生成10个随机数的数组。</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;">SORTBY函数的排序区域为A2:B11单元格中的数据,排序依据是按随机数数组升序排序。<span style="color: black;">由于</span>公式每次刷新所生成的随机数数组是不确定的,<span style="color: black;">因此</span>A2:B11单元格中的数据<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;"><strong style="color: blue;"><span style="color: black;">4、按<span style="color: black;">要求</span>提取<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;">如下图所示,左侧是员工信息,D列是经理亲戚。需要在F列提取出所有</span><strong style="color: blue;"><span style="color: black;">不是经理亲戚</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;">=FILTER(A2:B11,COUNTIF(D2:D5,A2:A11)=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/5f4079e5866c4ab29ac4bc6c37bbab53~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1727970208&amp;x-signature=713SGbq%2BZZS6ys7G5wMvpTZ2Ab8%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>COUNTIF(D2:D5,A2:A11),统计A2:A11单元格区域中的姓名,在D列经理亲戚列表中<span style="color: black;">显现</span>的次数,结果返回1<span style="color: black;">或</span>0:</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;">{0;0;1;1;0;1;0;0;1;0}</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>等于0,得到结果TRUE<span style="color: black;">或</span>FALSE。</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;">FILTER函数筛选出结果为TRUE的<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;"><strong style="color: blue;"><span style="color: black;">5、任意方向查数据</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>D列的姓名,在B列进行<span style="color: black;">查找</span>并返回A列对应的<span style="color: black;">分部</span>。E2单元格公式为:</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;">=XLOOKUP(D2,B:B,A:A,"无记录")</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/844822f46682429f89b5a3789a62f669~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1727970208&amp;x-signature=i%2BhZkebTE2qsO3R%2F%2FgRvoOlAh%2Fw%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;">第1</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;">公式的意思<span style="color: black;">便是</span>在B列单元格区域中<span style="color: black;">查询</span>D2单元格的姓名,并返回A列单元格区域中与之对应的<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;">XLOOKUP函数的<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 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></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>




7wu1wm0 发表于 2024-10-18 22:12:19

外贸论坛是我们的,责任是我们的,荣誉是我们的,成就是我们的,辉煌是我们的。

nykek5i 发表于 2024-10-25 15:49:16

你的话深深触动了我,仿佛说出了我心里的声音。

4zhvml8 发表于 2024-10-26 20:49:05

谷歌外链发布 http://www.fok120.com/

m5k1umn 发表于 6 天前

太棒了、厉害、为你打call、点赞、非常精彩等。

4zhvml8 发表于 昨天 16:44

回顾过去一年,是艰难的一年;展望未来,是辉煌的一年。
页: [1]
查看完整版本: 分享几个常用的Excel函数公式