Basic Functions
Intermediate

AVERAGEIF: the average of one group

The average order, but only for the channel you were asked about.

Task:

Marketing wants to know whether online customers spend more per order than shop customers. Put the average online order in E2 and the average in-store order in E3.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

8 rows × 6 columns2 cells you fill in
ABCDEF
1OrderChannelValueChannelAverage order
21041Online64Online
31042In store38In store
41043Online92
51044In store45
61045Online71
71046In store29
81047Online58
What this exercise teachesMay contain the answer

AVERAGEIF is AVERAGE with a filter in front of it. Pointing the criterion at E2 rather than typing "Online" into the formula means the same formula serves every channel in the table, and a new channel only needs a new row.