GEOMEAN for Geometric Mean Calculation in Google Sheets

GEOMEAN is a statistical function used to calculate the geometric mean of a dataset in Google Sheets. In this article, we will explore how to use this function and also provide alternative methods for calculating the geometric mean.

Geometric Mean Calculation Using Custom Formulas in Google Sheets

Let’s start by understanding the concept of geometric mean with a couple of examples.

Example 1:

Suppose we have the numbers 5, 10, and 25. The geometric mean of these numbers can be calculated by finding the 3rd root of their product. In this case, the product is 5 10 25 = 1250. Therefore, the geometric mean is the value of 1250^(1/3), which equals approximately 10.77. If there are more numbers in the dataset, we need to replace 1/3 with 1/n, where ‘n’ is the count of numbers (nth root).

To learn more about calculating nth root, you can refer to my guide on SQRT (Square Root), Cube Root, and Nth Root in Google Sheets.

Example 2:

Let’s calculate the geometric mean for the numbers 5, 10, 15, 20, and 25. To find the product, you can multiply the numbers together, resulting in 375000. Since there are 5 numbers in the dataset, we need to find the 5th root of 375000, which is approximately 13.03.

The above examples illustrate how to calculate the geometric mean using custom formulas in Google Sheets. However, there is a simpler way to achieve the same result using the GEOMEAN function.

GEOMEAN Function Syntax and Formula Examples in Google Sheets

The syntax for the GEOMEAN function is as follows:

GEOMEAN(value1, [value2, ...])

The function takes the values or ranges as arguments and calculates the geometric mean.

Here are two examples of GEOMEAN formulas:

=GEOMEAN(5, 10, 15, 20, 25)  

Result: 13.03

=GEOMEAN(B3:B7)

In the second example, the function is applied to the range B3:B7 to calculate the geometric mean.

Example to GEOMEAN function in Google Sheets

The GEOMEAN function simplifies the process of calculating the geometric mean in Google Sheets.

Common Error in Google Sheets GEOMEAN Formulas and Reasons

Sometimes, when using a range in the GEOMEAN function, you may encounter the #NUM! error. This error can occur due to the following reasons:

  1. A negative number in the range.
  2. Zero (0) in the range.

To remove the #NUM! error without deleting the numbers causing the error, you can use the FILTER function along with GEOMEAN. Here’s an example:

=GEOMEAN(FILTER(B3:B7, B3:B7 > 0))

In this formula, the FILTER function is used to exclude the negative numbers from the calculation.

If you want to include negative numbers in the GEOMEAN calculation, you can convert them to positive using the ABS function. Here’s an example:

=GEOMEAN(FILTER(ABS(B3:B7), ABS(B3:B7) > 0))

By applying the ABS function to the range, the negative numbers are converted to positive before the calculation.

Average – Related Functions

If you are interested in learning more about related functions, here are some articles that you might find helpful:

  1. How to Use the TRIMMEAN Function in Google Sheets
  2. How to Use the HARMEAN Function in Google Sheets
  3. Google Sheets Average Function [Advanced Tips and Tricks]
  4. AVERAGE.WEIGHTED: Calculate the Weighted Average in Google Sheets
  5. DAVERAGE Function in Google Sheets – Formula Examples
  6. Average IF: Find Average Based on Condition in Google Sheets
  7. Averageifs Multiple Criteria Function in Google Sheets

These articles provide insights into various functions related to calculating averages in Google Sheets.

Thank you for reading! For more informative articles and tips on Google Sheets, visit Crawlan.com. Happy calculating!

Related posts