How to use result from some function as a part of cell reference?

P

Piia

Hi,

In some cell I have a calculation giving some value as a result, let's say
xx (e.g. 24)

How do I use the results from this function as a number part of some other
function's cell reference, i.e. =Dxx (e.g. D24)

Thanks a lot! :)

-Piia
 
S

Sheeloo

If the cell containing 24 is A1 then use
=INDIRECT("D"&A1)
or
=INDIRECT("R"&A1&"C4",FALSE)
if you want to use R1C1 style
 
S

Stefi

If say cell C1 contains 24 then
=ADDRESS(C1,4,4,1)
returns D24 cell reference. If you need the content (value) of cell D24 then
use
=INDIRECT(ADDRESS(C1,4,4,1))


Regards,
Stefi

„Piia†ezt írta:
 

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