Excel AVERAGEIF Function: How to Use It, with Examples
Turkish: EĞERORTALAMA

Averages the values that meet a condition.

AVERAGEIF syntax

=AVERAGEIF(range, criteria, [average_range])

In Turkish Excel: =EĞERORTALAMA(aralık; ölçüt; [ortalama_aralığı])

ArgumentDescription
rangeThe cells to test.
criteriaThe condition.
[average_range]The cells to average.

AVERAGEIF examples

Sample table:

ABCD
1ProductRegionQuantityPrice
2PenAnkara125
3Notebookİzmir820
4EraserAnkara302
5NotebookAnkara520
6Penİzmir75
=AVERAGEIF(B2:B6,"İzmir",C2:C6)
Result: 7.5

Average quantity of the İzmir rows.

Results were calculated in real Excel.

Tips for AVERAGEIF

  • Returns #DIV/0! if no cell meets the condition.

Related functions

More formula guides

More tools

About AVERAGEIF Function

Averages the values that meet a condition.

Turkish function names were taken directly from Turkish Excel, and the example results on formula pages were calculated in real Excel. Everything runs in your browser; your data is never uploaded.

How to use AVERAGEIF Function

  1. Type the formulaStart typing =AVERAGEIF( in a cell; Excel shows the arguments.
  2. Fill in the argumentsSeparate them with commas (semicolons in Turkish Excel).
  3. Press EnterCheck the result; you can also try it in the tester below.

Frequently asked questions

What is AVERAGEIF in Turkish Excel?

In Turkish Excel, AVERAGEIF is called EĞERORTALAMA. Turkish Excel also separates arguments with semicolons (;) instead of commas.

Which Excel versions have AVERAGEIF?

AVERAGEIF is available in all current Excel versions (2010 and later, Microsoft 365).