You have 2 minutes to solve this Excel problem.
You have the following data:
Employee | Sales
John | 12,000
Sarah | 18,000
Mike | 15,000
David | 20,000
How would you find the highest sales value using an Excel formula?
๐ ๐ฒ: Challenge accepted! ๐ช
=MAX(B2:B5)
๐ก Explanation:
The MAX() function returns the largest value from a range of cells.
B2:B5 is the range containing the sales values.
Excel scans the range and returns the highest number.
In this example, the result will be 20,000.
This challenge tests your understanding of:
โ Basic Excel Functions
โ MAX()
โ Working with Cell Ranges
๐ฏ Expected Output Example
Formula | Result
=MAX(B2:B5) | 20,000๐ Bonus (Return the Employee Name with Highest Sales)
=XLOOKUP(MAX(B2:B5),B2:B5,A2:A5)
If you're using an older version of Excel:
=INDEX(A2:A5,MATCH(MAX(B2:B5),B2:B5,0))
These formulas return David, the employee with the highest sales.
๐ Tip for Excel Job Seekers:
The MAX() function is frequently combined with:
INDEX()
MATCH()
XLOOKUP()
FILTER()
Learning these combinations will help you solve many real-world Excel interview questions.
โค๏ธ React with โค๏ธ for more Excel interview challenges!