Cellgrids Cellgrids
Home › Practice questions › INDEX › Question 13

Excel INDEX Practice Question: Names are in A2:A8 and sales in B2:B8. Show the name of the salesperson with…

By Rinkesh Shah, founder of Cellgrids.

The question

Names are in A2:A8 and sales in B2:B8. Show the name of the salesperson with the highest sales. Put it in D2.

The data

ABCD
1SalespersonSalesResult
2Amit84200?
3Neha91500
4Rahul76800
5Priya88750
6Karan68300
7Sneha99100
8Rohan72400

The yellow cell is where your answer goes.

Show answer

Answer in D2: Sneha

How it works

Explanation: MAX finds the highest sales figure, MATCH finds its position in the list and INDEX returns the name from the same position.
Syntax: =INDEX(A2:A8,MATCH(MAX(B2:B8),B2:B8,0))
The highest sales are 99100, which is Sneha.

Try it yourself in the live sheet

Type your formula in the highlighted cell and get instant feedback. Free, no Excel install needed.

Try this question in the live sheet →

INDEX syntax

=INDEX(array, row_num, [column_num])

Returns the value at a given row/column position within a range. Pulling the Nth item from a list — often paired with MATCH to look up in any direction. Full INDEX guide.

More INDEX practice questions

All practice questions · Excel exercises · Interview prep · Cheat sheet