LARGE and SMALL
About this lesson
LARGE returns the k-th largest number in a range. SMALL returns the k-th smallest. So LARGE(range,2) is the second-highest value.
- find the second-highest or third-lowest value in a range.
- add up a top three, and say what LARGE does with ties.
The idea
MAX answers one question. LARGE answers the same question for any position: the second-highest, the third, the tenth. The second argument is the position. With 1 in it, the function is exactly MAX.
The problem is ties. LARGE ranks entries, not different values. A list with two 26s returns 26 for position 1 and for position 2. If "second highest" has to mean the next different number, LARGE cannot do it alone. The right tool is a sorted list with the duplicates removed, which the Dynamic Arrays module builds.
The mistake to watch for
LARGE ranks entries, not different values. With two reps on 26 deals, LARGE with 1 and LARGE with 2 both return 26. So the "second-highest" figure in a report is the same as the highest. When second highest has to mean the next different number, LARGE cannot do it alone.
Where this comes up again
This lesson needs JavaScript to run. Everything below is the lesson in full, but you cannot type into the grid or be marked.
In E2, find the best deal count with LARGE, asking for the first largest.
To begin, type it exactly:
=LARGE(B2:B9,1)
| Row | A | B | C | D | E | F | G |
|---|---|---|---|---|---|---|---|
| 1 | Rep | Deals | |||||
| 2 | Ade | 14 | Best | ||||
| 3 | Bea | 9 | Second best | ||||
| 4 | Cal | 21 | Fewest | ||||
| 5 | Dev | 17 | Top three together | ||||
| 6 | Eli | 9 | |||||
| 7 | Fay | 26 | |||||
| 8 | Gus | 12 | |||||
| 9 | Hal | 17 |
Every step
-
In
E2, find the best deal count withLARGE, asking for the first largest. To begin, type it exactly:=LARGE(B2:B9,1). -
In
E3, the second-best count. -
In
E4, the fewest deals anybody closed, usingSMALL. -
Two reps closed nine deals. Read
=SMALL(B2:B9,2)and say what it returns. -
In
E5, add together the three largest counts, usingLARGEthree times.