In this article we will learn how to return the entire content of the row containing the highest math grade in Microsoft Excel 2010.
If you want to find the entire contents of the row containing the highest Math Grade, you can use a combination of INDEX, MATCH & MAX functions to extract the output.
INDEX: Returns a value or reference of the cell at the intersection of a particular row and column, in a given range.
MATCH function searches for a specified item in a selected range of cells, and then returns the relative position of that item in the range.
MAX: Returns the maximum number from a range of cells or array. For example, if a list of numbers contains 5, 6, 7, 8, 9 & 10, then the output will be 10.
There can be maximum 255 arguments. Refer below shown screenshot:
Let us take an example:
We have Students Data as Student ID in column A, Year in column B, Subject in column C & Marks in column D respectively. We need a formula in range A10:D10 to retrieve the entire contents of the row based on the highest marks for Mathematics subject.
The function will return the entire content of the row containing the highest Math grade.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.