4
For many somewhat complicated reasons – it has to do with transposing columns and rows because of third party software limitations, etc. – I have had to use the INDIRECT
function in order to make copying a formula across a range of cells feasible. However, I would like to make the references direct.
Consider the following example:
in which a cell (B2
in the example) contains =INDIRECT(A2)
,
and cell A2
contains the text value B1
.
Thus, cell B2
evaluates to =INDIRECT("B1")
;
i.e., it fetches the value from cell B1
.
Is there anyway to actually change =INDIRECT(A2)
to just =B1
?
You could have a macro transforming indirect functions to their actual value. Is that kind of a solution you are looking for? – Máté Juhász – 2015-04-21T19:54:17.327
1VBA will be the way to do this. I mean it's possible using a bunch of formulas, but not easy. – Raystafarian – 2015-04-22T12:38:41.030
@shA.t: What are you talking about? I don't know any more behind information or inside information or whatever than you do, But I think the requirement is comprehensible — the OP has a large spreadsheet (or workbook) that contains many indirect references (as shown) and wants to replace them with equivalent direct references en masse in an automated way. – G-Man Says 'Reinstate Monica' – 2015-05-09T17:48:05.170