描述
GEOMEAN函数返回正数据数组或范围的几何平均值。
语法
GEOMEAN (number1, [number2] ...)
争论
Argument | 描述 | Required/Optional |
---|---|---|
number1 | 1 to 255 arguments for which you want to calculate the mean. | Required |
number2, ... | You can also use a single array or a reference to an array instead of arguments separated by commas. | Optional |
Notes
-
几何平均值的等式为-
$$GM _ {\bar {y}} = \sqrt [n] {y_1 y_2y_3 ..... y_n} $$
争论 can either be numbers or names, arrays, or references that contain numbers.
您直接在参数列表中键入的逻辑值和数字的文本表示形式将被计算在内。
如果数组或引用参数包含文本,逻辑值或空单元格,则将忽略这些值;但是,包含零值的像元。
如果任何指定的值不能解释为数值,则GEOMEAN返回#VALUE!。错误值。
如果任何数据点≤0,则GEOMEAN返回#NUM!错误值。
适用性
Excel 2007,Excel 2010,Excel 2013,Excel 2016
Example
![Geomean Function](http://dev-img.mos.moduyun.com/20231018/8cfbd165-5bce-4ab7-8308-d8b01e29ec68.jpg)
参考链接
https://www.learnfk.com/javascript/advanced-excel-statistical-geomean-function.html