google-sheets - 如何避免 Google 文档电子表格中出现 "#DIV/0!"错误?

标签 google-sheets divide-by-zero

我有一个包含 average(K23:M23) 的列,当 K23 时,该列以 #DIV/0! 开头>M23 单元格为空。最好我只想计算包含非零、非空白值的单元格的平均值。我认为可以使用查询命令:

https://docs.google.com/support/bin/answer.py?hl=en&answer=159999

但是他们的例子对我没有帮助。

最佳答案

IFERROR 包装您的公式。

=IFERROR(yourformula)

关于google-sheets - 如何避免 Google 文档电子表格中出现 "#DIV/0!"错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6600475/

相关文章:

reporting-services - SSRS 除以零错误表达式

c++ - 数字除以零是硬件异常

pdf - 在 Apps 脚本中将 Google 表格转换为 PDF 格式时文件大小会增加

javascript - Google Apps 脚本 - XML 解析器 - 正则表达式

c++ - 如何消除模板代码中的 "divide by 0"错误

python - 用可能导致 nan 的 numpy 矩阵除法

c# - 除以零错误,我该如何解决这个问题?

c# - 如何将 Json 文件添加到 Xamarin 表单?

google-sheets - 谷歌表格: Whats the formula to count all Sundays from a list of dates

javascript - 在这种情况下如何使用 GAS 进行字典化?