Finding the maximum or minimum values in Excel is important when you’re working with a lot of data. Luckily, you can use formulas to find the cells that contain these maximum and minimum values. In this tutorial, I will show you the most effective ways to find the cell addresses that have both the maximum and minimum values in rows and columns.

Find Cell Address From a Column of Numbers:

Let’s look at a worksheet with sales values in column B, from row 4 to row 18. These values are random and can change. Please refer to the image for more details.

Formula to Find the Cell Address That Has the Maximum Value From Rows:

=CELL("address",INDEX(B4:B18,MATCH(MAX(B4:B18),B4:B18,0)))

Copy & paste the above formula to find the cell address containing the maximum value. The formula will return the result as “$B$8“. The value $B$8 indicates the location of the maximum value in the current worksheet.

Formula to Find the Cell Address That Has the Minimum Value From Rows:

=CELL("address",INDEX(B4:B18,MATCH(MIN(B4:B18),B4:B18,0)))

The above formula will find the cell address that contains the minimum value in the worksheets. The formula will return the result as “$B$11“. The value $B$11 indicates the location of the minimum value in the current worksheet.

Find Cell Address From a Row of Numbers:

Similarly, the sales values range from column C to column P, all in row 3. Please refer to the image below.

Formula to Find the Cell Address That Has the Maximum Value From Columns:

=CELL("address",INDEX(C3:P3,MATCH(MAX(C3:P3),C3:P3,0)))

Executing the above formula will return the cell address value that contains the maximum value from the different columns. For example, the formula will return the cell address “$M$3”, which contains the maximum value.

Formula to Find the Cell Address That Has the Minimum Value From Columns:

=CELL("address",INDEX(C3:P3,MATCH(MIN(C3:P3),C3:P3,0)))

Similarly, the formula will return the cell address that contains the minimum value from the multiple columns. For example, the formula will return the cell address “$J$3” which contains the minimum value from the columns.

Functions Used to Achieve This:

Used Functions

Functions Used for

CELL

Returns information about the formatting, location, or contents of a cell.

INDEX

Returns the value of an element in a table or array, selected by row and column number.

MATCH

Searches for a specified item in a range of cells and returns the relative position of that item.

MIN

Returns the smallest number in a set of values.

MAX

Returns the largest number in a set of values.

That’s it. This tutorial was originally published on How Do I Find Cell Contains Maximum or Minimum Values in Excel?