not urgent

G

Gary's Student

What function returns the contents of a cell given the row and column number?
For example, =DesiredFunction(10,10) should return the contents of J10
 
J

JE McGimpsey

Did you try your suggestion?

That will result in a #REF! error. The indexed cell must be within the
reference, so

=INDEX(1:65536,10,10)

will work.
 
B

bj

It would have been nice if I have written "offset" in the response like I did
in my worksheet when I tested it.

Thanks for catching it.
 
G

Gary's Student

Thank you all very much. I can now get rid of my user defined function and
use something standard.
 
Top