What is the HARMEAN function?
=HARMEAN(number1, [number2], ...)HARMEAN returns the harmonic mean of positive numbers: the reciprocal of the average of the reciprocals (1 ÷ value).
Use it where averaging reciprocals gives the right answer, such as the average speed over the same distance at different speeds.
Arguments
- number1, number2, ...
- Numbers or ranges. Text and blank cells are ignored. A 0 or negative value returns #NUM!.
HARMEAN examples
Example 1. Average speed
=HARMEAN(60, 40)Going at 60 km/h and returning at 40 km/h averages 48 km/h, not AVERAGE's 50.
Example 2. Example from Microsoft
=HARMEAN(4,5,8,7,11,4,3)About 5.028.
Common mistakes
Using it everywhere
If the time spent at each speed is the same (rather than the distance), AVERAGE is correct.
Including 0
0 has no reciprocal, so it returns #NUM!.
FAQ
- How do the three means compare?
- Unless all values are equal: harmonic < geometric < arithmetic.
- Text cells?
- Text and blank cells in a range are skipped.