Linking cell through variable

E

ezil

Although this is simple task i stuck up with these
for eg. cell A1= 5 (variable), A5=10 and i need in
in cell b1= A(variable of a1) in this case it is A5 i.e 10
How to write formula or macro for this.
 
M

mcescher

Although this is simple task i stuck up with these
for eg. cell A1= 5 (variable), A5=10  and i need in
in cell b1= A(variable of a1)           in this case it is A5i.e 10
How to write formula or macro for this.

Take a look at the INDIRECT function.

B1 = INDIRECT("A" & A1)

Chris M.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top