I am using this formula to stack columns:
'DATA' is a dynamic array referring to all data in the first 3 columns
The problem I am facing is that the first code requires me to drag down the cell until I hit an error to fill in all of my data. Is there a way I can automatically continue the formula until it hits an error, such that if more data is entered in the multiple columns, the single column will automatically adjust it's length? I have tried replacing A1 with A:A but it ends up returning the first value in 'DATA' indefinitely.
I am trying to avoid VBA for the same reason, I want to be able to copy/paste new values into 'DATA' and have the single column automatically adjust.
Excel Formula:
=INDEX(DATA,1+INT((ROW(A1)-1)/COLUMNS(DATA)),MOD(ROW(A1)-1+COLUMNS(DATA),COLUMNS(DATA))+1)
'DATA' is a dynamic array referring to all data in the first 3 columns
Excel Formula:
=OFFSET('Sheet1'!$A$2,0,0,COUNTA'Sheet1'!$A:$A)-1,3)
The problem I am facing is that the first code requires me to drag down the cell until I hit an error to fill in all of my data. Is there a way I can automatically continue the formula until it hits an error, such that if more data is entered in the multiple columns, the single column will automatically adjust it's length? I have tried replacing A1 with A:A but it ends up returning the first value in 'DATA' indefinitely.
I am trying to avoid VBA for the same reason, I want to be able to copy/paste new values into 'DATA' and have the single column automatically adjust.