AVERAGEIF
Average the values in a range that meet a condition.
AVERAGEIF returns the mean of cells matching a criterion — like the average order value for one customer.
Excel
=AVERAGEIF(A:A, "West", B:B)Google Sheets
=AVERAGEIF(A:A, "West", B:B)How it works
- 1A:A is tested against "West".
- 2Matching values in B:B are averaged.