Skip to main content

Excel HARMEAN Function

The HARMEAN function returns the harmonic mean of a supplied set of values. The harmonic mean is the reciprocal of the arithmetic mean of reciprocals.

harmean function 1


Syntax

=HARMEAN(number1, [number2], ...)


Arguments

  • number1 (required): The first positive number or range of positive numbers for which to calculate the harmonic mean.
  • [number2], ... (optional): The second and up to 253 more positive numbers or ranges of positive numbers for which to calculate the harmonic mean.

Return Value

The HARMEAN function returns a positive numeric value.


Function Notes

  • Arguments can be numbers, arrays, or references that contain numbers.
  • HARMEAN ignores blank cells.
  • If a text value is referenced by the HARMEAN function, HARMEAN will ignore it; If the text value is supplied directly to the HARMEAN (e.g., =HARMEAN(“kutools”)), the function will return the #VALUE! error.
  • If a logical value is referenced by the HARMEAN function, HARMEAN will ignore it; If the logical value is supplied directly to the HARMEAN, the function will treat is as a number (TRUE=1, FALSE=0).
  • If any supplied values are not positive (≤ 0), HARMEAN will return the #NUM! error value.
  • If there are any error values in any of the arguments, HARMEAN will return the first error value.
  • The equation for the harmonic mean is:
    harmean function 2
  • √ Note: For more information about the harmonic mean, please view the Wikipedia Harmonic Mean Page.

Example

Supposing you have a table with numbers as shown below, to get the harmonic mean of the numbers, please copy or enter one of the formulas below in a blank cell, and press Enter to get the result:

=HARMEAN(5,2,1,11,11,8,50,50,1.5,5,6.5,9,4)

=HARMEAN({5,2,1;11,11,8;50,50;1.5,5;6.5,9,4})

Or, use cell references to make the formulas dynamic:

=HARMEAN(B3:D7)

=HARMEAN(B3:B7,C3:C7,D3:D7)

harmean function 3


Related functions

Excel GEOMEAN Function

The GEOMEAN function returns the geometric mean of an array or range of positive numbers. The geometric mean can be used for a set of numbers whose values are meant to be multiplied together or are exponential in nature, e.g., a set of growth figures.

Excel TRIMMEAN Function

The Excel TRIMMEAN function calculates mean (average) while excluding outliers. The number of data points to exclude is provided as a percentage.


The Best Office Productivity Tools


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations