Function Problems

How to Return the Cell Reference of the Maximum Value in Excel

Huda QurayshiHuda Qurayshi Nov 10, 2026 870 views

Question details

The user needs to find the exact cell address containing the highest numerical value in a specified range, rather than just returning the maximum number itself.

How to Return the Cell Reference of the Maximum Value in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Analyzing a dataset where locating the exact position of the peak value is required for referencing or auditing purposes.
Observed behavior
The standard MAX function only returns the value, so the user requires a formula combination to retrieve the cell reference (e.g., $A$2) or the corresponding data from an adjacent column.
Before you start

Ensure that your target data range does not contain error values (such as #N/A or #VALUE!), as these will cause the MAX function to return an error instead of the highest number.

Solution 1Recommended

Get the Cell Address Using ADDRESS, XMATCH, and MAX

This method combines three built-in functions to pinpoint the exact cell reference of the highest number in a single-column range.

The MAX function finds the highest number, XMATCH locates its relative row position within the range, and ADDRESS converts that row and column number into an actual cell reference string.

1
Select an output cell

Click on an empty cell where you want the resulting cell address to be displayed.

2
Enter the formula

Type the formula =ADDRESS(XMATCH(MAX(A1:A4),A1:A4),1) into the formula bar. Adjust 'A1:A4' to match your actual data range. The '1' at the end specifies column A; change this number to match your target column (e.g., 2 for column B).

3
Execute the formula

Press the Enter key. The cell will now display the absolute address (such as $A$2) of the maximum value.

Get the Cell Address Using ADDRESS, XMATCH, and MAX
Handling Duplicates: If the maximum value appears more than once in the specified range, the XMATCH function will return the cell reference of the first occurrence it encounters.
Advanced Spreadsheet Capabilities

Easily Find Max Value References with WPS Spreadsheet

WPS Spreadsheet offers full support for advanced lookup formulas like XMATCH, XLOOKUP, and ADDRESS, allowing you to quickly locate maximum values and their exact cell references with zero hassle.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the document containing your dataset.
  2. 2. Select the target cell: Click on the cell where you want the reference or lookup result to appear.
  3. 3. Input the formula: Type your combined ADDRESS and XMATCH formula into the formula bar.
  4. 4. Get your result instantly: Press Enter to instantly locate your maximum value's exact cell reference.
100% compatible with Microsoft Excel formulas and functionsSupports modern lookup functions like XLOOKUP and XMATCH out of the boxFree, lightweight, and features a familiar user interface for seamless migration
microsoft office alternative - wps office

Frequently Asked Questions

What happens if there are multiple identical maximum values in my range?

When using the XMATCH or MATCH function, the formula will evaluate from top to bottom and return the cell reference of the first matching maximum value it encounters in your specified range.

Can I use MATCH instead of XMATCH if I have an older version of Excel?

Yes, if your software does not support XMATCH, you can use the traditional MATCH function. The formula would look like this: =ADDRESS(MATCH(MAX(A1:A4), A1:A4, 0), 1). The '0' specifies an exact match.

How do I find the cell reference for the minimum value instead?

You can achieve this by simply replacing the MAX function with the MIN function in your formula. The updated formula will be: =ADDRESS(XMATCH(MIN(A1:A4), A1:A4), 1).