SpreadJS Documentation > Formula Reference > Formula Functions > GEOMEAN |
This function returns the geometric mean of a set of positive data.
GEOMEAN(value1,value2,...)
GEOMEAN(array)
GEOMEAN(array1,array2,...)
You can specify a set of numeric values. You can also use a single array or a reference to an array instead of arguments separated by commas. If an array or reference argument contains text, logical values, or empty cells, the function ignores those values; however, the function includes in calculations cells with the value zero. This function can have up to 255 arguments.
Data should be provided so that the value arguments should be greater than zero.
You can use this function to calculate average growth rate given compound interest with variable rates.
The equation for this function is:
Accepts numeric data for all arguments. Returns numeric data.
GEOMEAN(F1:F9)
GEOMEAN(R1C6:R9C6)
GEOMEAN(35,31,47,51,37,31,58,39) gives the result 40.1461796637