# HARMEAN Function

> Calculate the harmonic mean of positive numbers, such as an average speed, with HARMEAN in TX Sheet Control: ranges, ignored text and #NUM! errors.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > HARMEAN Function
- **191 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/harmean/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/harmean/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/harmean/llms-full.txt

---

Return the harmonic mean of positive numbers, the reciprocal of the average of their reciprocals, such as an average speed. `number1`, `number2` and up to 255 numbers, ranges or arrays are the values; text in a range or array is ignored. A value of 0 or less returns `#NUM!`.

### Syntax

```text
HARMEAN(number1, number2)
```

Category: Statistics. Minimum arguments: 1. Maximum arguments: 255.

Available for supported offline calculation.

### Examples

```text
=HARMEAN(1,3,5)
```

The formula returns 1.9565217391.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [GROWTH Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/growth/llms-full.txt)
- **Next:** [HEX2BIN Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/hex2bin/llms-full.txt)
