Premium exercise · Excel logic, arrays, and finance
SORT practice: the largest sale
Practice Excel SORT by ordering sales from largest to smallest and returning the first value with INDEX.
A2:A5 are sale amounts in the order they were entered.
In C2, use SORT to order that range from largest to smallest, then INDEX to return the first value. Do not use MAX.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C |
|---|---|---|---|
| 1 | Sale | Largest | |
| 2 | 10 | Formula goes in C2. formula | |
| 3 | 40 | ||
| 4 | 25 | ||
| 5 | 5 |
Hint
SORT can take a sort order. 1 sorts ascending and -1 sorts descending.
Explanation
This exercise practices SORT and INDEX in Excel. The formula goes in C2.
SORT with -1 puts 40 first, then 25, 10, and 5. INDEX at position 1 returns 40. SORT spills the full ranking; INDEX pulls the top of that ranking into C2.
The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.