Exceljet

Quick, clean, and to the point

Get address of lookup result

Excel formula: Get address of lookup result
Generic formula 
=CELL("address",INDEX(range,row,col))
Explanation 

To get the address of a lookup result derived with the INDEX function, you can use the CELL function. In the example shown, the formula in cell G8 is:

=CELL("address",INDEX(B5:D11,MATCH(G6,B5:B11,0),2))

Which returns an address of $C$8, the address of the cell returned by INDEX.

How this formula works

At the core, this is an INDEX and MATCH formula:

INDEX(B5:D11,MATCH(G6,B5:B11,0),2) // returns 60

However, although the result displays on the worksheet as 60, the INDEX function actually returns a reference to cell C8.  Just like any other reference, Excel shows the value in the cell.

By wrapping INDEX in the CELL function, we can get Excel to show us the address to the cell returned by INDEX. After INDEX returns a reference, the formula resolves to:

=CELL("address",C8) // returns $C$8

and the CELL function returns the absolute address $C$8 as the final result.

Author 
Dave Bruns

Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.