Practice: summaries and rankings

Summaries and rankings · About 6 minutes

Practice: summaries and rankings

This is a mix. Each task needs a different function, so read what it asks for first: a total, a typical value, the best in a group, or a place in a ranking.

Price times units, added up: SUMPRODUCT. The middle value: MEDIAN. The highest or lowest in one group: MAXIFS or MINIFS. The 2nd or 3rd from the top: LARGE.

Questions like these are common in analyst and office skills tests.

Part of Plus

Free during our founding launch: sign in to unlock this lesson's exercises, the timed practice sets and the rest of Plus. The free lessons stay free, with no account needed.

What this practice covers

This practice mixes the summary functions: SUMPRODUCT, MEDIAN, MAXIFS and MINIFS, and LARGE and SMALL. Each task describes a result in plain words, and you choose the function that gives it.

The skill is matching the question to the function. "This times that, added up" is SUMPRODUCT. A typical value that ignores one odd result is MEDIAN. The best or worst in one group is MAXIFS or MINIFS. A place in a ranking, like 2nd highest, is LARGE or SMALL.

The formulas you'll use

=SUMPRODUCT(array1, [array2], ...)

SUMPRODUCT
Multiplies ranges row by row, then adds up the results.

=MEDIAN(number1, [number2], ...)

MEDIAN
The middle value once the numbers are sorted.

=MAXIFS(max_range, criteria_range1, criteria1, ...)

MAXIFS and MINIFS
The highest or lowest number among the rows that pass your tests. Excel 2019 and later, Microsoft 365 and Google Sheets.

=LARGE(array, k)

LARGE and SMALL
The value in place k from the top, or from the bottom with SMALL.

A worked example

A race logs each runner's group and finish time in minutes. In C9, find the fastest Junior time.

A race logs each runner's group and finish time in minutes. In C9, find the fastest Junior time.
ABC
1RunnerGroupMins
2AnaJunior31
3BoSenior28
4CalJunior26
5DeeSenior33
6EliJunior29
7FaySenior25
8GusJunior34
9Best Jr26
C9=MINIFS(C2:C8,B2:B8,"Junior")Look at the times in C2:C8 on the rows where B2:B8 says Junior (31, 26, 29 and 34) and take the lowest. Fastest means lowest, so it shows 26.

Mistakes to watch for

The total is far too big

For "this times that, added up", use SUMPRODUCT on the two ranges, not one SUM multiplied by another.

The best in a group shows the best overall

Use MAXIFS or MINIFS with the group column and the group name, not MAX or MIN on the whole column.

The 2nd highest shows the highest

Use LARGE with 2 as its last part. MAX only ever gives first place.

Which summary should you use?

Read the last words of the task first. "Total" with two things multiplied: SUMPRODUCT. "Typical" or "middle": MEDIAN, especially when one value is far from the rest. "Highest" or "lowest" within a group: MAXIFS or MINIFS. "2nd", "3rd" or "top 3": LARGE, or SMALL for the bottom.

Fastest, cheapest and earliest are lowest values, so they need MIN, MINIFS or SMALL. Questions like these are common in analyst and office skills tests.

Questions people ask

Which function gives a total of price times units?

SUMPRODUCT, in one cell.

Which gives the typical value when one is far off?

MEDIAN. AVERAGE is pulled toward the outlier.

Which gives the best value in one group?

MAXIFS (or MINIFS for the lowest). LARGE gives a place, like 2nd from the top, across the whole range.

Theme