![]() |
| サイトマップ | |
|
関数 avg
は、範囲内の数値ではなく、異なる範囲にある同一行の数値を平均します。結果として得られる範囲は、引数として代入する範囲を行方向に平均したものです。関数 mean
とは異なり、関数 avg
はスカラーではなく範囲を返します。
関数 avg
は、以下に定義される算術平均を計算します:
関数 avg
は、ワークシートの列データではなく行データの平均を計算するために使用します。
avg
({x1, x2...},{y1, y2...},{z1, z2...})
x1, y1, z1 は、異なる範囲にある同一行の数値です。範囲内に含まれる欠損値や文字列はいずれも文字列や欠損値として返されます。
avg({1,2,3},{3,4,5})
は、{2,3,4}
を返します。最初の範囲の 1 は2つ目の範囲の 3 と、同様に 2 は 4 と、3 は 5 と平均されます。結果は範囲として返されます。
The avg function averages the numbers across corresponding ranges, instead of within ranges. The resulting range is the row-wise average of the range arguments. Unlike the mean function, avg returns a range, not a scalar.
The avg function calculates the arithmetic mean, defined as:
The avg function can be used to calculate averages of worksheet data across rows rather than within columns.
avg({x1,x2...},{y1,y2...},{z1,z2...})
The x1, y1, and z1 are corresponding numbers within ranges. Any missing value or text string contained within a range returns the string or missing value as the result.
The operation avg({1,2,3},{3,4,5}) returns {2,3,4}. 1 from the first range is averaged with 3 from the second range, 2 is averaged with 4, and 3 is averaged with 5. The result is returned as a range.