HARMEAN


Returns the harmonic mean of the arguments.

Syntax:

HARMEAN(number1, number2, ... number30)


number1 to number30 are up to 30 numbers or ranges containing numbers. Numbers must not be zero.

The harmonic mean of  is defined as.


Example:

HARMEAN(2, 4, 4)

returns 3, calculated as 3/(1/2 + 1/4 + 1/4).


Application:

Imagine you are an analyst for a company that specializes in producing solar panels. You want to evaluate the efficiency of your solar panels under different weather conditions to determine their overall performance. The efficiency is measured in percentage. You have collected the following data for a specific model of solar panel over a period of four days, each with a different dominant weather type.

Day

Weather Condition

Efficiency (%)

A
B
C
1
Monday
Sunny
22.5
2
Tuesday
Partly Cloudy
21
3
Wednesday
Overcast
18
4
Thursday
Rainy
15.5

To get a fair representation of the average efficiency, you should use the harmonic mean. The harmonic mean is particularly useful in this scenario because it gives more weight to lower values, which is important when evaluating rates or ratios like efficiency. A low efficiency on one day (e.g., a rainy day) can significantly impact the overall performance, and the harmonic mean accounts for this better than a simple arithmetic mean.


The HARMEAN function is used to calculate this value.


The formula for the harmonic mean is:



Where:


  • H is the harmonic mean.
  • n is the number of data points.
  • xi​ are the individual data points.


Using the data from the table:


n=4

x1​=22.5

x2​=21

x3​=18

x4​=15.5


The calculation would be:






The harmonic mean efficiency of the solar panels is approximately 18.86%. This value is a more realistic representation of the panel's average performance, as it is lower than the arithmetic average (which would be around 19.25%) and properly accounts for the impact of lower efficiency on rainy days.

Result of HARMEAN:

18.86




This page is protected by Google reCAPTCHA. Privacy - Terms.
 
Built using Zapof