Excel cell value from address

Copper Contributor

I know I'm doing something dumb. I have a vector of row numbers. I can use them and column numbers in the ADDRESS function to return Excell addresses containing a number I want to get, e.g., ADDRESS(P4,13) returns $M$722.  (P4 is the cell that contains the number 722, in the vector of row numbers.)  What I really want is the number/contents in cell $M$722.  I can figure out how to take the cell address to return the number.  It seems like the $M$722 is acting like it is text.

3 Replies

@Norm_Dotti 

=INDIRECT(ADDRESS(P4,13))

You can try this formula which works in my sheet.

address.JPG

 

@Norm_Dotti 

You can use the INDIRECT function:

 

=INDIRECT(ADDRESS(P4,13))

 

or, since column 13 is M, use

 

=INDEX(M:M,P4)

Duh!  Yes!  OF COURSE the INDIRECT function!  It IS indirect addressing, just like in machine language programming.  Anyway, to be clear, it works!  Thank you, both. (I'll try INDEX, too, just to try it.)