Hermanator
Technical User
Hi people,
I just have a really stupid question here and I'm amazed that I haven't found the solution yet:
In Excel, I want to create a reference to a certain cell, with a variable position. For instance: The number in cell C5 determines the column number of the cell to copy to cell D6.
The only way that I can do this is to put in cell C6:
=INDIRECT(ADDRESS(7,C5)). This first creates a reference as a text to the cell C3 and then converts it to a real reference. Isn't there a way to do this directly? There must be a formula like: =CELL(7,C5) !
I just have a really stupid question here and I'm amazed that I haven't found the solution yet:
In Excel, I want to create a reference to a certain cell, with a variable position. For instance: The number in cell C5 determines the column number of the cell to copy to cell D6.
The only way that I can do this is to put in cell C6:
=INDIRECT(ADDRESS(7,C5)). This first creates a reference as a text to the cell C3 and then converts it to a real reference. Isn't there a way to do this directly? There must be a formula like: =CELL(7,C5) !