Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Transpose irregular number of rows into columns - Google Sheet

$
0
0

I'm using a survey tool that exports all the data into 1 column (Mailerlite).Each answer is optional so the number of answers is not the same for each participant (can't be pre-defined manually).

Example:
user1@email1.com
answer 1
answer 2
user2@email2.com
answer 1
user3@email3.com
answer 1
answer 2
answer 3

I need to transpose this column into rows, like so:

user1@email1.com    answer 1    answer 2    user2@email2.com    answer 1        user3@email3.com    answer 1    answer 2    answer 3

I'm fairly new to formulas in Google Sheets. TRANSPOSE() works well for 1 user.
But I can't figure how to use it with a separator/divider so that I could display the answers of each user on a new line every time a new email address is found.

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 9782

Trending Articles