Applies ToSharePoint Server 訂閱版本 SharePoint Server 2019 SharePoint Server 2016 SharePoint Server 2013 SharePoint Server 2013 企業版 Microsoft 365 中的 SharePoint SharePoint Foundation 2010 SharePoint Server 2010 Microsoft 365 小型企業版中的 SharePoint Windows SharePoint Services 3.0

Returns the harmonic mean of a data set. The harmonic mean is the reciprocal of the arithmetic mean of reciprocals.

Syntax

HARMEAN(number1,number2,...)

Number1,number2, ...     are 1 to 30 arguments for which you want to calculate the mean.

Remarks

  • The arguments must be either numbers or column references that contain numbers.

  • If a column reference argument contains text, logical values, or is empty, those values are ignored; however, arguments with the value zero are included.

  • If any data point ≤ 0, HARMEAN returns the #NUM! error value.

  • The harmonic mean is always less than the geometric mean, which is always less than the arithmetic mean.

  • The equation for the harmonic mean is:

    Equation

Example

Col1

Col2

Col3

Col4

Col5

Col6

Col7

Formula

Description (Result)

4

5

8

7

11

4

3

=HARMEAN([Col1],[Col2],[Col3],[Col4],[Col5],[Col6],[Col7])

Harmonic mean of the data (5.028376)

需要更多協助嗎?

想要其他選項嗎?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.