如果公式的计算输出为错误,则IFERROR函数将返回您指定的值。否则,返回公式的输出。使用IFERROR函数可以捕获和处理公式中的错误。
IFERROR (value, value_if_error)
Argument | 描述 | Required/Optional |
---|---|---|
value | The argument that is checked for an error. | Required |
value_if_error | The value to return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE! , #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!. | Required |
如果Value或Value_if_error为空单元格,则IFERROR将其视为空字符串值("")。
来源:LearnFk无涯教程网
如果Value是一个数组公式,则IFERROR将为value中指定范围内的每个单元格返回输出数组。
Excel 2007,Excel 2010,Excel 2013,Excel 2016
这一章《JavaScript - IFERROR 函数》你学到了什么?在下面做个笔记吧!做站不易,你的分享是对我们最大的支持