Home › Functions › Statistical › AVERAGEIF
fx
AVERAGEIF
Statistical  ·  Since: Excel 2007  ·  9 languages

Returns the average (arithmetic mean) of all the cells in a range that meet a given criteria.

🌐 Translations

English AVERAGEIF
Deutsch MITTELWERTWENN
Français MOYENNE.SI
Español PROMEDIO.SI
Italiano MEDIA.SE
Português MÉDIASE
Nederlands GEMIDDELDE.ALS
Polski ŚREDNIA.JEŻELI
Русский СРЗНАЧЕСЛИ

📦 Availability

Excel versionAvailable
Excel 2007 ✓
Excel 2013 ✓
Excel 2019 ✓
Excel 2021 ✓
Microsoft 365 ✓
Translate a formula with this function
fx EN
fx DE

⌨ Syntax

AVERAGEIF(range,criteria,[average_range])

Arguments

range (required) — One or more cells to average, including numbers or names, arrays, or references that contain numbers.
criteria (required) — The criteria in the form of a number, expression, cell reference, or text that defines which cells are averaged. For example, criteria can be expressed as 32, "32", ">32", "apples", or B4.
average_range (optional) — The actual set of cells to average. If omitted, range is used.

▶ Examples

=AVERAGEIF(B2:B5,"<23000")
=AVERAGEIF(A2:A5,"<95000")
=AVERAGEIF(A2:A5,"<250000")

Related functions

Copied to clipboard