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
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!