I have a google spreadsheet with multiple columns that have variable row counts in each column. I would like to combine all the columns into one column.
So if the following is the data:
Column 1, column 2, Column 3, Column 4
Row 1: A, B, C, D
Row 2: ,,,E
I would want to get
Row 1: A
Row 2: B
Row 3: C
Row 4: D
Row 5: E
I would like this to be non-destructive to the original sheet so it should create a new spreadsheet tab with a unique name. The unique name is important b/c i would like to run this function on multiple spreadsheets that are all different. The unique name will avoid overlap.
The request is to help me write the script to do this transpose in google apps spreadsheets
Thank you for the help!
Here is the script, please let me know if you encounter any issues, at the moment it ignores blank cells and the value “0”.