m5k1umn 发表于 2024-10-1 15:18:32

Excel常用电子表格公式大全(含案例、Excel源文件)


    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">内容提要:</strong>应小伙伴所需,<span style="color: black;">博主</span>整理了这些Excel常用电子表格公式分享给<span style="color: black;">大众</span>,并且<span style="color: black;">供给</span>了电子表格常用函数公式Excel源文件。</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>的Excel常用电子表格公式,并且附带有相应的案例和Excel源文件<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;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">第1</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;">咱们</span>在C2单元格输入公式:=IF(COUNTIF(A:A,A2)&gt;1,"重复",""),<span style="color: black;">能够</span>将A列重复的姓名寻找出来。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><img src="data:image/svg+xml,%3C%3Fxml version=1.0 encoding=UTF-8%3F%3E%3Csvg width=1px height=1px viewBox=0 0 1 1 version=1.1 xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink%3E%3Ctitle%3E%3C/title%3E%3Cg stroke=none stroke-width=1 fill=none fill-rule=evenodd fill-opacity=0%3E%3Cg transform=translate(-249.000000, -126.000000) fill=%23FFFFFF%3E%3Crect x=249 y=126 width=1 height=1%3E%3C/rect%3E%3C/g%3E%3C/g%3E%3C/svg%3E" style="width: 50%; margin-bottom: 20px;">&nbsp;</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;">第二,Excel中用出生年月来计算年龄</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">  在C2单元格输入公式:=TRUNC((DAYS360(B2,TODAY(),FALSE))/360,0)</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><img src="data:image/svg+xml,%3C%3Fxml version=1.0 encoding=UTF-8%3F%3E%3Csvg width=1px height=1px viewBox=0 0 1 1 version=1.1 xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink%3E%3Ctitle%3E%3C/title%3E%3Cg stroke=none stroke-width=1 fill=none fill-rule=evenodd fill-opacity=0%3E%3Cg transform=translate(-249.000000, -126.000000) fill=%23FFFFFF%3E%3Crect x=249 y=126 width=1 height=1%3E%3C/rect%3E%3C/g%3E%3C/g%3E%3C/svg%3E" style="width: 50%; margin-bottom: 20px;">&nbsp;</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;">第三,Excel提取出生年月</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">从输入的18位身份证号中提取出生年月计算公式,<span style="color: black;">咱们</span>在C2单元格输入公式:=CONCATENATE(MID(B2,7,4),"/",MID(B2,11,2),"/",MID(B2,13,2))</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz/k6kCsib3eJMx2vbc2hj8xSz6fMxnR2mqCcglzTVg1HEUXXURQ253Ny72pOSuLj2yt44OOndIlkpDF5hfBCzWRQQ/640?wx_fmt=jpeg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></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;">第四,Excel提取性别</span></strong></span></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>在C2单元格输入公式:=IF(LEN(B2)=15,IF(MOD(MID(B2,15,1),2)=1,"男","女"),IF(MOD(MID(B2,17,1),2)=1,"男","女"))</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz/k6kCsib3eJMx2vbc2hj8xSz6fMxnR2mqCibAQuiakasiafbJ2xXcnwUgDkg0zP7wG34BlnnJAojatfTYQwI2cWhJjA/640?wx_fmt=jpeg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></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;">第五,Excel求和、求平均、等级、排名、最高分、最低分</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">  D2单元格求和公式:=SUM(B2:B12)</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">  E2单元格求平均值公式:=AVERAGE(B2:B12)</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">F2单元格求最高分公式:=MAX(B2:B12)</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">  G2单元格求最低分公式:=MIN(B2:B12)</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">  H列的排名公式:=RANK(B2,$B$2:$B$12)</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">  I列的等级算法公式:=IF(B2&gt;=85,"优",IF(B2&gt;=74,"良",IF(B2&gt;=60,"及格","不及格")))</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz/k6kCsib3eJMx2vbc2hj8xSz6fMxnR2mqCjrRCQw92libtvDOdsyEXfq4I7JL16zpHPDwHsaNPBAQy5icCUkuicSKhg/640?wx_fmt=jpeg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></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 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;">excel中当某一单元格符合特定<span style="color: black;">要求</span>,<span style="color: black;">怎样</span>在另一单元格<span style="color: black;">表示</span>特定的颜色<span style="color: black;">例如</span>:A1〉1时,C1<span style="color: black;">表示</span>红色;0&lt;A1&lt;1时,C1<span style="color: black;">表示</span>绿色;A1&lt;0时,C1<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>如下:单击C1单元格,点“格式”&gt;“<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;">  1、<span style="color: black;">要求</span>1设为:公式 =A1=1,点“格式”-&gt;“字体”-&gt;“颜色”,点击红色后点“确定”。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2、<span style="color: black;">要求</span>2设为:公式 =AND(A1&gt;0,A1&lt;1),点“格式”-&gt;“字体”-&gt;“颜色”,点击绿色后点“确定”。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">  3、<span style="color: black;">要求</span>3设为:公式 =A1&lt;0,点“格式”-&gt;“字体”-&gt;“颜色”,点击黄色后点“确定”。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">  4、三个<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;"><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;">  EXCEL中<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;">  1、用数据有效性定义数据长度。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">用鼠标选定你要输入的数据范围,点"数据"-&gt;"有效性"-&gt;"设置","有效性<span style="color: black;">要求</span>"设成"<span style="color: black;">准许</span>""文本长度""等于""5"(<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;">能够</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;">  2、用<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;">选定A列,点"格式"-&gt;"<span style="color: black;">要求</span>格式",将<span style="color: black;">要求</span>设成“公式=COUNTIF($A:$A,$A1)&gt;1”,点"格式"-&gt;"字体"-&gt;"颜色",选定红色后点两次"确定"。</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></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;">统计“班级”为“二班”,“语文成绩”大于等于104,“录取结果”为“重本”的人数。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">  公式:=SUM(IF((B2:B9999="二班")*(C2:C9999&gt;=104)*(D2:D9999="重本"),1,0))</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">  输入完公式后按Ctrl+Shift+Enter键,让它自动加上数组公式符号"{}"。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz/k6kCsib3eJMx2vbc2hj8xSz6fMxnR2mqC7NkjNY9LFelp0LnNGU40ofJuJMWWjOpwuMguJmNqbNpPsib5s8sBMqQ/640?wx_fmt=jpeg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></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></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">例如求A2:A12范围内不重复姓名的个数,某个姓名重复多次<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;">  一是利用数组公式:=SUM(1/COUNTIF(A2:A12,A2:A12)),输入完公式后按Ctrl+Shift+Enter键,让它自动加上数组公式符号"{}"。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">  二是利用乘积求和函数:=SUMPRODUCT(1/COUNTIF(A2:A12,A2:A12))</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz/k6kCsib3eJMx2vbc2hj8xSz6fMxnR2mqCc9ibZ0ypQ6C7nm4QnSdFuz8Rx0icKct2QBkofIxOxPGUHkRx9mKtg0wg/640?wx_fmt=jpeg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></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;">第十,做Excel目录工作表</span></strong></span></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></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>步,Ctrl+F3<span style="color: black;">显现</span>自定义名<span style="color: black;">叫作</span>对话框,取名为X,在“引用位置”框中输入:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">=MID(GET.WORKBOOK(1),FIND("]",GET.WORKBOOK(1))+1,100),确定。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz/k6kCsib3eJMx2vbc2hj8xSz6fMxnR2mqCkZe2IygWiasTGSia6PH6waRsl9ueByiajNzjNrxoV0HF8qyRzsxDCzRLA/640?wx_fmt=jpeg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;">&nbsp;</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">第二步,用HYPERLINK函数批量<span style="color: black;">插进</span>连接,<span style="color: black;">办法</span>:在目录工作表(<span style="color: black;">通常</span>为<span style="color: black;">第1</span>个sheet)的A2单元格输入公式:=HYPERLINK("#"&amp;INDEX(X,ROW())&amp;"!A1",INDEX(X,ROW())),将公式向下填充,直到出错为止,目录就生<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;"><img src="http://mmbiz.qpic.cn/mmbiz/k6kCsib3eJMx2vbc2hj8xSz6fMxnR2mqCXAm6NprsqunnzXArJYM0rlr5TMBLeYeBSicbMdlMfIFYXBBcJtYkH7w/640?wx_fmt=jpeg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;">&nbsp;</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>分享一个word小技巧。在word中连续输入三个“~”,按下回车键可得到一条<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;">  收工!本篇教程的所有Excel源文件请到QQ群:231768146下载。</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></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">---------------------------------------------------&nbsp;</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>您想快速学好Excel,<span style="color: black;">亦</span><span style="color: black;">能够</span>报读部落窝教育举办的《Excel极速贯通班》在线课堂学习。报名之前,<span style="color: black;">能够</span>加老师QQ:603830039领取Excel视频试学。</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">公众号ID:exceljiaocheng</p><img src="http://mmbiz.qpic.cn/mmbiz/7CibAcfrHMDnicfv1cBibrJUqOiaS0OW8D0mDBZmHe7zq1F26pSP3d7ibStBsuwLgiaCrglqaCtHrK2k6rrDUOosiaOHg/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">部落窝教育</span><span style="color: black;">升职加薪,走上人生巅峰</span><img src="data:image/svg+xml,%3C%3Fxml version=1.0 encoding=UTF-8%3F%3E%3Csvg width=1px height=1px viewBox=0 0 1 1 version=1.1 xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink%3E%3Ctitle%3E%3C/title%3E%3Cg stroke=none stroke-width=1 fill=none fill-rule=evenodd fill-opacity=0%3E%3Cg transform=translate(-249.000000, -126.000000) fill=%23FFFFFF%3E%3Crect x=249 y=126 width=1 height=1%3E%3C/rect%3E%3C/g%3E%3C/g%3E%3C/svg%3E" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">长按二维码可扫描关注</span>




页: [1]
查看完整版本: Excel常用电子表格公式大全(含案例、Excel源文件)