FxFormula Drills

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.

Starter sheet for this exercise
RowABC
1SaleLargest
210Formula goes in C2. formula
340
425
55

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.

Solve this exercise

Practice this formula

Loading the practice grid…