Forum Discussion

eviera49's avatar
eviera49
Copper Contributor
Feb 09, 2021
Solved

Using the number in a cell as the number of columns added in a formula.

Help! Previously, Peter Bartholomew helped me solve this problem: I have a table to which I need to keep adding rows. At the end of the table, I have several cells taking the values of the last ro...
  • mtarler's avatar
    mtarler
    Feb 10, 2021

    eviera49 Did you try the formula I gave you?  The problem you are having with INDIRECT("EL"&A3) is that Excel doesn't know what "EL" is and therefore when you insert columns it doesn't touch it.  But if you use =INDEX(EL:EL,A3) then when you insert columns before EL it will automatically update the formula accordingly.  If you insert 2 columns it will change EL:EL to EN:EN.  I think this is what you need, but if not maybe I'm not understanding.

Resources