Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
With more than 35 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company.
Learn more about Allen...
Barry has a worksheet with 65,000 rows. They are unsorted and must remain unsorted. He can use the MAX function on the column and get the maximum value in that column. However, he also wants to know the address of the first cell in the column that contains this maximum value.
There are a number of ways that you can determine the address of the maximum value. One way is to use the ADDRESS function in conjunction with the MAX function, in the following manner:
The MATCH function is used to find where in the range (column A) the maximum value resides, and then the ADDRESS function returns the address of that location. A shorter version of the macro leaves off the ADDRESS function, instead being "hardwired" to return an address in column A:
Still another way to get the desired address is with a formula such as this:
This formula uses the CELL function, in conjunction with INDEX, to return the address of the cell that matches the maximum value in the column.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3818) applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003
You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Cell Address of a Maximum Value.
Tame Your Data! ExcelTips: Filters and Filtering provides all the details necessary to let you manage large sets of data with confidence and ease. Its information-packed pages demonstrate how to use the two types of filters provided by Excel: AutoFilters and advanced filters. Check out ExcelTips: Filters and Filtering today!