日本語 English
株式会社ヒューリンクス
TEL:03-5642-8384
営業時間:9:00-17:30

total

関数 total は、指定範囲のすべての数値の合計を単一の値として返します。数値的には、sum 関数で得られる配列の最後の要素と等しくなります。

構文

total(range)

引数 range には 1つの範囲 ({} で指定) 、もしくは、ワークシートの1列を指定します。範囲内に欠損値や文字列が含まれている場合は無視されます。

  • x = {9,16,7} に対して、total(x) は 32 を返します。
  • y = {4,12,-6} に対して、total(y) は 10 を返します。

関連情報

total

The function total returns a single value equal to the total sum of all numbers in a specified range. Numerically, this is the same as the last number returned by the sum function.

Syntax

total(range)

The range argument must be a single range (indicated with the { } brackets) or a worksheet column. Missing values and text strings contained within the range are ignored.

Example

For x = {9,16,7}, the operation total(x) returns a value of 32.

For y = {4,12,-6}, the operation total(y) returns a value of 10.

関連情報