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
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 146 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!