SpreadJS Documentation
GEOMEAN
SpreadJS Documentation > Formula Reference > Formula Functions > GEOMEAN

This function returns the geometric mean of a set of positive data.

Syntax

GEOMEAN(value1,value2,...)

GEOMEAN(array)

GEOMEAN(array1,array2,...)

Arguments

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.

Remarks

You can use this function to calculate average growth rate given compound interest with variable rates.

The equation for this function is:

GEOMEAN Equation

Data Types

Accepts numeric data for all arguments. Returns numeric data.

Examples

GEOMEAN(F1:F9)

GEOMEAN(R1C6:R9C6)

GEOMEAN(35,31,47,51,37,31,58,39) gives the result 40.1461796637

See Also