How can I find the spreadsheet cell reference of MAX() in a range?

Viewed 6394

With a column range of A1:A20 I have found the largest number with =MAX(A1:A20). How can I find the reference (e.g. A5) of the MAX() result?

I'm specifically using Google Spreadsheets but hope this is simple enough to be standard across excel and Google Spreadsheets.

4 Answers

As of now, there is a QUERY formula that can help with this situation

=ARRAYFORMULA(query({ROW(A2:A), A2:A},
"SELECT MAX(Col1)
WHERE Col2 IS NOT NULL
ORDER BY Col2 DESC"))

ROW(A2:A) represents the row number of each row which you can use the result with ADDRESS to create a reference to a cell.

Related