带错误值如何求和,三种方法任你选!
时间:2023-01-01 06:09:43
大家好啊,今天给大家分享一个经常用到的技巧,实务中经常遇到带错误值的数据,如下表的销量这一列数据,带有错误值,那么如何求出总销量呢?
![带错误值如何求和,三种方法任你选!](https://img.aspxhome.com/file/2023/5/a157145_0.png)
方法1:SUMIF函数法
在E2单元格输入以下公式:
=SUMIF(C:C,”<9e307″,C:C)
![带错误值如何求和,三种方法任你选!](https://img.aspxhome.com/file/2023/5/a157145_1.png)
方法2:AGGREGATE函数法
在E2单元格输入下面的公式:
=AGGREGATE(9,6,C2:C11)
![带错误值如何求和,三种方法任你选!](https://img.aspxhome.com/file/2023/5/a157145_2.png)
上式公式中,9:表示求和;6:表示忽略错误值;第三参数是求和区域。
方法3:数组公式法
在E2单元格输入下面数组公式后,按组合键即可。(不一定所有的数组公式都要同时按三键哦!)
=SUMPRODUCT(IF(ISERROR(C2:C11),0,C2:C11))
![带错误值如何求和,三种方法任你选!](https://img.aspxhome.com/file/2023/5/a157145_3.png)
首先用ISERROR函数判断数据区域是否是错误值,如果是错误值的话,记为0,否则,还返回原来的值,然后就把这些数据加在一块就是总销售量。使用SUMPRODUCT()函数进行求和。
今天就到这里,下期再撩!
标签:sum,SUMIF,sumifs,SUMIF函数,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
excel怎么把多列内容合并到一列
2023-04-02 17:19:23
![](https://img.aspxhome.com/file/2023/4/38034_0s.jpg)
如果 AirPods Pro 上的主动降噪功能不能正常工作怎么办?
2023-09-28 23:49:04
![](https://img.aspxhome.com/file/2023/7/46157_0s.png)
word如何删除首页页码然后从第二页开始编号?
2023-03-07 23:33:03
![](https://img.aspxhome.com/file/2023/5/28245_0s.jpg)
Word段落左侧的黑点点,是干嘛的?
2023-11-21 18:09:58
![](https://img.aspxhome.com/file/2023/1/24021_0s.png)
将word分栏的方法步骤全解
2023-03-09 13:07:54
excel表格统计个数的方法步骤图
2023-05-26 17:24:58
excel单元格不能自动调整行高怎么办 excel单元格不能自动调整行高解决方法
2023-06-13 02:13:48
![](https://img.aspxhome.com/file/2023/3/39613_0s.jpg)
excel表格累加求和的方法步骤
2023-01-26 13:09:54
Word利用快捷键如何快速录入商标符号
2022-09-19 15:02:29
![](https://img.aspxhome.com/file/2023/8/35348_0s.gif)
excel2010怎么定时保存?
2022-06-18 01:56:29
![](https://img.aspxhome.com/file/2023/3/a143583_0s.jpg)
excel2003按笔画进行排序的方法
2023-11-26 18:08:31
word怎么取消隐藏文字
2023-07-07 13:48:58
![](https://img.aspxhome.com/file/2023/1/34591_0s.png)
excel怎么添加和删除批注动画教程
2023-11-22 11:54:01
![](https://img.aspxhome.com/file/2023/9/a155799_0s.gif)
excel怎么计算平均值?
2022-08-19 12:02:48
![](https://img.aspxhome.com/file/2023/5/a142285_0s.png)
如何按指定个数在Excel中获得一列数据的所有可能组合?
2022-12-24 09:04:29
![](https://img.aspxhome.com/file/2023/5/a142575_0s.jpg)
Excel 2000/XP的数据排序方法
2022-08-18 10:34:19
如何快速找到 Office 2007 中命令的位置?
2023-10-09 11:03:00
![](https://img.aspxhome.com/file/2023/0/16080_0s.gif)
Win10系统输入中文变成问号怎么办?
2023-12-14 13:56:26
![](https://img.aspxhome.com/file/2023/9/51829_0s.jpg)
excel表格人数统计的方法
2023-05-02 21:38:05
什么是“同步化”Word2007中如何实现多个图形“同步化”
2022-09-08 01:37:59
![](https://img.aspxhome.com/file/2023/3/29273_0s.jpg)