当前位置:首页 > 编程笔记 > 正文
已解决

无涯教程-JavaScript - SUM函数

来自网友在路上 180880提问 提问时间:2023-09-21 20:19:52阅读次数: 80

最佳答案 问答题库808位专家为你答疑解惑

描述

SUM函数可添加值。

语法

SUM (number1, [number2]...)

争论

Argument描述Required/Optionalnumber1The first number you want to add. The number can be a value, a cell reference, or a cell range.Requirednumber2, …You can specify up to 255 additional numbers.Optional

Notes

  • SUM函数始终将数字和日期计为数值。

  • 但是,文本表示形式和逻辑值的处理方式有所不同,具体取决于它们是存储在工作表单元格中的值,还是直接提供给函数的值。有关详细信息,请参见下表-

Value Within a Range of CellsValue Supplied Directly to FunctionNumbers已包含已包含Dates已包含已包含Logical ValuesIgnored

已包含

(正确= 1;错误= 0)

Text Representations of Numbers & DatesIgnored已包含Other TextIgnored已包含ErrorsErrorError

如果直接提供给SUM函数的任何数字参数不能解释为数值,则SUM返回#VALUE!错误。

适用性

Excel 2007,Excel 2010,Excel 2013,Excel 2016

Example

SUM Function

JavaScript 中的 SUM函数 - 无涯教程网无涯教程网提供描述SUM函数可添加值。 语法 SUM (number1, [number2]...) 争论 Argument 描述 Requir...https://www.learnfk.com/javascript/advanced-excel-math-trignometric-sum-function.html

查看全文

99%的人还看了

猜你感兴趣

版权申明

本文"无涯教程-JavaScript - SUM函数":http://eshow365.cn/6-10936-0.html 内容来自互联网,请自行判断内容的正确性。如有侵权请联系我们,立即删除!