Forum Discussion
justa-user
Jul 19, 2022Copper Contributor
dynamic cell address
pc desktop, win11, office, excel using 2 sheets in a workbook. On sheet 2: consider =sheet1!D43 this gets the data from cell D43 on sheet1 Is there a way that the 43 can be a variable? l...
- Jul 19, 2022
PeterBartholomew1
Jul 19, 2022Silver Contributor
First an answer to your question. The formula you require is
= INDIRECT("Sheet1!D"&A1)I would, however, never consider using such a formula. I would consign Excel to the trash can if I were forced to use such a notation, made worse by the presence of a volatile function. I would apply defined names both to the the column range and the index cell that reflects their business significance rather than their location of the sheet. The formula would be of the form
= INDEX(ColumnD, recordNum)
For example
= INDEX(balance, period)That said, I hope INDIRECT works for you.
- justa-userJul 19, 2022Copper Contributorworks fine I agree that it is a bit complicated.