Suppose I have:
B1
B1
as a row variable, which will be read in conjunction with column A
into another cell (say C1
) as "=A(B1)" i.e. "=A5"How would I do this?
Assuming your row number is in B1
, you can use INDIRECT
:
=INDIRECT("A" & B1)
This takes a cell reference as a string (in this case, the concatenation of A
and the value of B1
- 5), and returns the value at that cell.