HARMEAN Function in Excel: The Right Average for Rates

HARMEAN Function in Excel: The Right Average for Rates featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 5 October 2026

StatisticsLevel: ExpertAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. HARMEAN in practice
  6. Where you will use it
  7. Worked example
  8. Mistakes people make
  9. Related functions
  10. Continue learning

HARMEAN averages rates properly. Drive 60 km/h one way and 40 km/h back, and your average speed is 48, not 50.

Advertisement

Syntax

=HARMEAN(number1, [number2], ...)
Argument What it means
number1… Positive numbers.

Examples

Example 1

=HARMEAN(60, 40)

Returns 48.

Example 2

=HARMEAN(B2:B6)

Average P/E of equal-amount holdings.

HARMEAN in practice

Where you will use it

  • Average speed over equal distances
  • Average price per unit with equal spend
  • Average of rates

Worked example

SpeedsFormulaResult
60, 40=ROUND(HARMEAN(CHOOSE(ROW()-1,{60,40},{50,50},{30,60,90})),2)48
50, 50=ROUND(HARMEAN(CHOOSE(ROW()-1,{60,40},{50,50},{30,60,90})),2)50
30, 60, 90=ROUND(HARMEAN(CHOOSE(ROW()-1,{60,40},{50,50},{30,60,90})),2)49.09

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Using AVERAGE for speedsGoing 60 and returning 40 averages 48, not 50
Zero#NUM!

GEOMEAN Β· AVERAGE

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Statistics advanced33 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 36 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong