Index

Yesterday we showed how to use the maximum function creatively and not only find the maximum value, but also the location of the maximum value.

Now let's dress it up further and also capture the contents that correspond to the maximum value, in this case the rep number.

For good measure, we also threw in a section for the minimum performing rep.  The formula is the similar to the maximum, only we switch MIN for MAX.

The file is called Index.  Both the exercise and result are in the same file.

Here is what we started with:

To get the rep number, we will use the INDEX function, which has three parts:

Here is the result:

Our formula is  =INDEX(rep,E4)

Let's review our parts:

If we are looking for a value across a long row, then we would leave the second argument blank (by typing in ",,") and then specifying a column.

If we were looking for a specific point in a rectangular range, then we would specify both the row number and the column number.

INDEX is a nice function for returning values from a specified point in the range.  We will use this again in future lessons.

Return To Excel Tips Index