I have two sheets: sheet1 and sheet2.
In sheet2 I have a column "C" called addresses and in that column I have actual cell addresses such as $J$740, $H$756, etc, all referring to cell locations in Sheet1.
In sheet1 in column "B" are names.
I would like to be able to return the names from sheet1 column "B" to column "G" of sheet2 that belong to the cell address from column "C" in sheet2.
Is there an Excel formula that will do this?
Hi all I found the answer to my question - thanks again for your help
Yes. This is very the purpose of the
INDIRECT
function.In cell G2, you can write:
and copy this formula down column G.
This will take the text in cell C2, say
$J$740
, and append it to the textsheet1!
to givesheet1!$J$740
. TheINDIRECT
function then returns the value of the cell corresponding to that address (cell J740 on sheet1).