首页 > 编程语言 >无涯教程-JavaScript - SUM函数

无涯教程-JavaScript - SUM函数

时间:2023-09-19 18:34:32浏览次数:36  
标签:Ignored 函数 包含 SUM JavaScript Excel 无涯 Optional

描述

SUM函数可添加值。

语法

SUM (number1, [number2]...)

争论

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

Notes

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

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

Value Within a Range of Cells Value Supplied Directly to Function
Numbers 已包含 已包含
Dates 已包含 已包含
Logical Values Ignored

已包含

(正确= 1;错误= 0)

Text Representations of Numbers & Dates Ignored 已包含
Other Text Ignored 已包含
Errors Error Error

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

适用性

Excel 2007,Excel 2010,Excel 2013,Excel 2016

Example

SUM Function

参考链接

https://www.learnfk.com/javascript/advanced-excel-math-trignometric-sum-function.html

标签:Ignored,函数,包含,SUM,JavaScript,Excel,无涯,Optional
From: https://blog.51cto.com/u_14033984/7527927

相关文章

  • 【JavaScript保姆级教程】输出函数和初识变量
    @TOC前言JavaScript是一种强大的脚本语言,广泛应用于网页开发和应用程序编写。本文将全面介绍JavaScript中输出内容的方法,包括使用document.write()函数、调试工具如console.log()和对话框函数如alert(),以及变量的声明和赋值。此外,我们还将探索输入提示框prompt()函数的使用方法。深......
  • 【JavaScript保姆级教程】输出函数和初识变量
    @TOC前言JavaScript是一种强大的脚本语言,广泛应用于网页开发和应用程序编写。本文将全面介绍JavaScript中输出内容的方法,包括使用document.write()函数、调试工具如console.log()和对话框函数如alert(),以及变量的声明和赋值。此外,我们还将探索输入提示框prompt()函数的使用方法。深......
  • 无涯教程-JavaScript - SINH函数
    描述SINH函数返回数字的双曲正弦值。语法SINH(number)争论Argument描述Required/OptionalNumberAnyrealnumber.RequiredNotes双曲正弦的公式为-$$SINH\left(z\right)=\frac{e^z-e^{-z}}{2}$$适用性Excel2007,Excel2010,Excel2013,Excel2016Examp......
  • javascript单引号和双引号区别
    在一个网页中的按钮,写onclick事件的处理代码,不小心写成如下:<inputvalue="Test"type="button"οnclick="alert(""OK"");"/>IE提示出错后,再漫不经心地改为:<inputvalue="Test"type="button"οnclick="alert(\"......
  • 调用javascript的4钟方式
    <scripttype="text/javascript">document.write('调用方式一');</script><scriptlanguage="">document.write('调用方式二');</script><scriptlanguage="javascript">......
  • 无涯教程-JavaScript - SEC函数
    描述SEC函数返回Angular的割线。语法SEC(number)争论Argument描述Required/OptionalNumberNumberistheangleinradiansforwhichyouwantthesecant.RequiredNotes数字的绝对值必须小于2^27如果Angular为度,则将Angular乘以PI()/180或使用RADIANS函......
  • 如何在JavaScript中实现链表
      转载来自:https://www.freecodecamp.org/news/implementing-a-linked-list-in-javascript/  Ifyouarelearningdatastructures,alinkedlistisonedatastructureyoushouldknow.IfyoudonotreallyunderstanditorhowitisimplementedinJavaScript......
  • 无涯教程-JavaScript - ROUND函数
    描述ROUND函数将数字四舍五入为指定的位数。ROUND是Excel舍入函数之一。语法ROUND(number,num_digits)争论Argument描述Required/OptionalnumberThenumberthatyouwanttoround.Requirednum_digitsThenumberofdigitstowhichyouwanttoroundthenum......
  • arcgis api for javascript 4.x, 删除绘制的点、线、面
    1、在视图mapView上添加的点线面//删除所有mapView.graphics.removeAll();//删除一个constpointGraphic=newGraphic({geometry,symbol})mapView.graphics.remove(pointGraphic);//删除多个mapView.graphics.removeMany([pointGraphic,polylineGraphic]);2、G......
  • [JavaScript] JavaScript的时间与时区
    0序言第1章节,原创,主要关注:JS的时间、时区国际化问题第2章节,主要来自于第1篇参考文献(系对第1章节的基础知识的夯实)1JavaScript时间、时区的国际化(案例)本案例等同于问题:JavaScript从浏览器根据不同时区获取时间的问题假定现在有两台Windows笔记本电脑。Step1设置......