Excel教程:excel多需需要平均值工作案例
<span style="color: black;"><span style="color: black;">Excel求平均值的<span style="color: black;">状况</span>有<span style="color: black;">非常多</span>种,<span style="color: black;">例如</span>excel多<span style="color: black;">要求</span>求平均值,<span style="color: black;">包括</span>错误值求平均值等等。</span></span><span style="color: black;"><span style="color: black;">下面的Excel文件,记录了工厂每条生产线的流水记录</span></span><span style="color: black;">。<span style="color: black;">表格数据,是某工厂多条生产线的产量计算表。</span><span style="color: black;"><span style="color: black;">每日</span>的生产线不固定,有可能是几条生产线,<span style="color: black;">亦</span>有可能是几十条生产线</span><span style="color: black;">,<span style="color: black;">例如</span>GB3生产线停工,<span style="color: black;">那样</span>良品数、不良数、负荷时间均为0,<span style="color: black;">因此</span>出来高就会是一个错误值,这个错误值将影响到<span style="color: black;">咱们</span>最后的平均值统计。</span></span><p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;">在C18单元格输入公式,计算所有生产线的平均值。</span></strong></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/k6kCsib3eJMwk49eHvJGNYYHpd8ICw25wTDzducr7gCu5hLicvXHC74kcpJr2tC3FlBu4FMFtHy1Kc0eYPrhNib1w/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p><span style="color: black;">C18单元格公式为数组公式,需要按CTRL+shift+回车结束输入。</span><span style="color: black;">公式为:</span><span style="color: black;">=SUMPRODUCT(IFERROR(C2:C17,0)*(B2:B17="出来高"))/COUNTIFS(B2:B17,"出来高",C2:C17,">=0")</span><img src="https://mmbiz.qpic.cn/mmbiz_gif/k6kCsib3eJMwvURtZcp1UXJjA7Lqzk9XoEcJqicBMCaqT3QzL6oraqrcIPzDUTPHfBRWqUVWxaUFuzribG6BVHG8Q/640?wx_fmt=gif&tp=webp&wxfrom=5&wx_lazy=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">公式思路分享:</p>
</span><span style="color: black;">SUMPRODUCT(IFERROR(C2:C17,0)*(B2:B17="出来高")),这部分公式的意思是先计算几条生产线出来高的总和。<span style="color: black;">由于</span>有错误值DIV/0存在,<span style="color: black;">因此</span><span style="color: black;">增多</span>IFERROR函数进行预处理。</span><span style="color: black;">COUNTIFS(B2:B17,"出来高",C2:C17, ">=0"),这部分公式计算有多少条正常生产线在生产。<span style="color: black;">一样</span>是<span style="color: black;">由于</span>有错误值DIV/0存在,<span style="color: black;">因此</span>需要加">=0",<span style="color: black;">或</span>是“<9E307”都<span style="color: black;">能够</span>。</span><strong style="color: blue;"><span style="color: black;"><span style="color: black;">倘若</span>你在阅读本篇Excel教程,<span style="color: black;">或</span>工作中遇到不懂的Excel问题,请在公众号后台回复:粉丝群,加入我的Excel读者交流群,<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>Excel问题。</span></strong><span style="color: black;">回复:</span><span style="color: black;">粉丝群</span><strong style="color: blue;"><span style="color: black;">全套Excel办公技能助力职场升级!</span></strong><strong style="color: blue;"><span style="color: black;">让你在职场中实现逆风翻盘!</span></strong><strong style="color: blue;"><span style="color: black;">原价99元,</span></strong><strong style="color: blue;"><span style="color: black;">今天购买只需1元!</span></strong><img src="https://mmbiz.qpic.cn/mmbiz_png/b96CibCt70iaajvl7fD4ZCicMcjhXMp1v6UibM134tIsO1j5yqHyNhh9arj090oAL7zGhRJRq6cFqFOlDZMleLl4pw/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/b96CibCt70iaajvl7fD4ZCicMcjhXMp1v6UibM134tIsO1j5yqHyNhh9arj090oAL7zGhRJRq6cFqFOlDZMleLl4pw/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/b96CibCt70iaajvl7fD4ZCicMcjhXMp1v6UibM134tIsO1j5yqHyNhh9arj090oAL7zGhRJRq6cFqFOlDZMleLl4pw/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/1UYeEpy6cIWXzThHu8A29ibU7fNzkQ1EczdNAe6J2MYW1vDyib93AgqgVdUOTuuXxKIPiaGcaqczuZUg1tJXwHRhg/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;">
楼主继续加油啊!外链论坛加油! 楼主继续加油啊!外链论坛加油!
页:
[1]