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

size

関数 size は、指定した範囲に含まれる要素 (数値、欠損値、文字列) の全個数を返します。size (X) = count (X) + missing (X) が成り立ちます。

構文

size(range)

引数 range には 1つの範囲 ({} で指定) 、もしくは、ワークシートの1列を指定します。

  • 以下の図において:

    size(col(1)) は 6 を返します。
    size(col(2)) は 6 を返します。
    size(col(3)) は 4 を返します。

関連情報

size

The size function returns a value equal to the total number of elements in the specified range, including all numbers, missing values, and text strings. Note that size (X) 1/2 count (X) + missing (X).

Syntax

size(range)

The range argument must be a single range (indicated with the { } brackets) or a worksheet column.

In the figure below:
以下の図において、
the operation size(col(1)) returns a value of 6,
size(col(1)) は 6 を返します。
the operation size(col(2)) returns a value of 6, and
size(col(2)) は 6 を返します。
the operation size(col(3)) returns a value of 4.
size(col(3)) は 4 を返します。

関連情報