HARMEAN(value1, value2)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
value1:
The first numeric value or range of cells for which you want to calculate the harmonic mean.
value2:
The second numeric value or range of cells for which you want to calculate the harmonic mean.
The HARMEAN function in Google Sheets is a statistical tool used to calculate the harmonic mean of a set of numbers. The harmonic mean is a type of average that is particularly useful in situations where rates are involved, such as speed or efficiency. It is defined as the reciprocal of the arithmetic mean of the reciprocals of the values.
In simpler terms, HARMEAN provides a way to find the average of a set of numbers in a way that gives more weight to smaller values, making it ideal for certain types of data analysis.
Imagine you are analyzing the speeds of different vehicles over a certain distance:
| Vehicle | Speed (mph) |
|---|---|
| Car A | 60 |
| Car B | 75 |
| Car C | 90 |
You want to find the harmonic mean of these speeds to understand the overall efficiency of the vehicles.
To achieve this, you would use the HARMEAN function as follows:
=HARMEAN(B2:B4)In this formula:
B2:B4 is the range containing the speeds of the vehicles.When you apply the HARMEAN formula to the Vehicle Speeds Table, the output would be:
| Harmonic Mean Speed (mph) |
|---|
| 70.59 |
This result indicates that the harmonic mean speed of the vehicles is approximately 70.59 mph.
HARMEAN is beneficial because it provides a more accurate average in scenarios where the data involves rates or ratios. It helps to mitigate the impact of extremely high values that can skew the arithmetic mean, giving a more representative measure of central tendency for certain datasets.
HARMEAN is an essential function for anyone working with data that involves rates, providing a powerful way to enhance data analysis and reporting capabilities.
Happy spreadsheeting!
You have a table with sales data in Column A (monthly sales figures). Use the HARMEAN formula to calculate the harmonic mean of sales performance over several months. This provides a better average for rates, helping assess overall sales efficiency.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.