excel图表计算完成销售计划的产品数量与总销量
时间:2023-08-21 04:33:18
问题情境
如下样表:
各种产品销售量,既有完成销售计划的,也有没完成计划的。
要求统计:
1、完成计划的产品数;
2、完成计划的产品销售总量。
公式实现1、完成计划的产品数
在D5输入公式:
=COUNTIF(B2:B11,”>=50000″)
即可得完成计划的产品数,如下图:
2、完成计划的产品销售总量
在D8输入公式:
=SUMPRODUCT((B2:B11>=5000)*B2:B11)
即可得完成计划的产品销售总量,如下图:
函数解析
1、COUNTIF函数
COUNTIF函数 用于统计满足某个条件的单元格的数量
语法:
COUNTIF(要检查的区域,要查找内容满足的条件)
本题目中是在区域B2:B11中查找”>=50000的单元格数量。
2、SUMPRODUCT
SUMPRODUCT函数最基本的用法是:数组间对应的元素相乘,并返回乘积之和。
B2:B11>=5000
将B2:B11内每个单元格值与5000比较,凡是大于或等于5000的返回TRUE,否则是FALSE,结果返回一组逻辑值:
{FALSE;TRUE;TRUE;FALSE;TRUE;TRUE;FALSE;TRUE;FALSE;TRUE;}
(B2:B11=”女”)*C2:C11:
将上述逻辑数组内的值与对应的B2:B11的数值相乘。
SUMPRODUCT((B2:B11>=5000)*B2:B11):
将上述乘积加和。
标签:Excel函数,excel函数公式,excel表格制作,Excel教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Windows 10扫描和修复驱动器卡住了
2022-02-05 22:53:44
![](https://img.aspxhome.com/file/2023/2/a286026_0s.jpg)
Win10笔记本电脑搜索不到蓝牙设备怎么办?
2023-09-08 04:38:52
![](https://img.aspxhome.com/file/2023/26/a221297_0s.jpg)
Win10 19H1快速预览版18353推送 更新内容与修复bug汇总
2023-07-09 10:43:58
![](https://img.aspxhome.com/file/2023/28/a241347_0s.jpeg)
如何使用"自动图文集"让Word也妙语连珠
2023-03-13 09:23:34
Win10系统更新卡住了怎么办?Win10系统更新卡住了的解决方法
2023-10-12 16:29:02
![](https://img.aspxhome.com/file/2023/1/a279160_0s.jpg)
excel使用函数求正切和反切值 实例教程
2023-03-25 09:51:14
在Word文档中怎么插入分数呢?word插入分数介绍
2023-07-08 06:45:00
![](https://img.aspxhome.com/file/2023/7/23227_0s.jpg)
手工Ghost安装系统图文教程
2022-03-20 02:15:45
![](https://img.aspxhome.com/file/2023/5/a318938_0s.jpg)
显卡驱动不兼容怎么办?
2022-03-27 12:56:24
![](https://img.aspxhome.com/file/2023/6/a323228_0s.jpg)
Win7开机提示长时间未登录记住密码已过期如何解决?
2023-05-09 18:08:35
![](https://img.aspxhome.com/file/2023/27/a232963_0s.jpg)
鼠标六个按键有什么功能?鼠标六个按键功能介绍
2022-08-07 16:44:17
![](https://img.aspxhome.com/file/2023/30/a267381_0s.jpeg)
计算机二级考试真题-Excel-晓雨Office应用能力考核报告
2023-10-28 11:12:26
bing搜索引擎入口官方_必应bing搜索网站地址
2022-06-21 16:02:24
![](https://img.aspxhome.com/file/2023/30/a266492_0s.jpg)
装系统提示Output error file to the following location A:
2023-10-13 16:06:15
![](https://img.aspxhome.com/file/2023/4/a306498_0s.jpg)
微信视频聊天,小编告诉你怎么用微信进行视频聊天
2022-01-28 02:24:38
![](https://img.aspxhome.com/file/2023/1/a276827_0s.png)
Apple Watch 主动拨号教程
2023-02-07 05:08:11
![](https://img.aspxhome.com/file/2023/0/a200500_0s.jpg)
电脑win8怎么升级win10系统?
2022-06-24 21:20:41
![](https://img.aspxhome.com/file/2023/1/a276062_0s.png)
WPS快速保存网页内容到在线素材的技巧
2023-12-01 17:56:14
![](https://img.aspxhome.com/file/2023/1/a164081_0s.jpg)
Win10电脑不能复制粘贴该怎么办?
2023-04-11 08:07:52
![](https://img.aspxhome.com/file/2023/1/a281594_0s.png)
Win10如何投屏到电视?Win10投屏到电视的方法
2022-12-15 13:14:32
![](https://img.aspxhome.com/file/2023/0/53060_0s.jpg)