How to append columns of data
Hello,
I'm hoping to append multiple columns into 1 (so "stack" them).
In this case the first 5 columns would result in the Append column as shown below:
Normally I'd use Power Query in Excel but how can we achieve this in SmartSheets.
Thanks for any help with this
Best Answer

The main problem is that a column formula will only extend to populated rows. You could technically add another column which is just a list of number (1,2,3, etc, as many as you need). Then you could use a formula like this:
=INDEX(COLLECT([Col15]:[Column18], [Col15]:[Column18], NOT(ISBLANK(@cell))), [NumberedRowColumn]@row)
Answers

The main problem is that a column formula will only extend to populated rows. You could technically add another column which is just a list of number (1,2,3, etc, as many as you need). Then you could use a formula like this:
=INDEX(COLLECT([Col15]:[Column18], [Col15]:[Column18], NOT(ISBLANK(@cell))), [NumberedRowColumn]@row)

Hey Lucas,
That works perfectly! And it neatly eliminates all of the spaces in my actual sheet.
Thank you thank you!!!

No problem @BrianDN.
Help Article Resources
Categories
Check out the Formula Handbook template!