Reputation: 4636
I have this table:
In each of the cells there is a long list separated by ",":
Rosângela Lima, Ana Carolina Chagas, Sergio Vasquez, Rosana Corrêa, Michele Kida
Analista De Treinamento E …, A procura de nova oportunidade no mercado, Comercial na BRASILMAXI Logística Ltda., Executiva de Vendas e Solucionadora do Grupo BRASILMAXI, Executiva de Vendas na Brasilmaxi Logística LTDA
, [email protected], [email protected], [email protected], ,
@ros%C3%A2ngela-lima-4a90a324, @ana-carolina-chagas-24997022, @sergio-vasquez-25a040a4, @rosanacorrea, @michele-kida-83929230
I want it to look like this:
I tried to use transpose(split())
however it doesn't work the email line properly:
Google Sheets is not considering the first character as separator.
Upvotes: 1
Views: 35
Reputation: 201513
From "MY TRY" of your shared Spreadsheet, how about modifying the formula at "C15" as follows?
=TRANSPOSE(SPLIT(C3;","))
=TRANSPOSE(SPLIT(C3;",";;FALSE))
About 4th argument, the official document says as follows.
remove_empty_text - [ OPTIONAL - TRUE by default ] - Whether or not to remove empty text messages from the split results. The default behavior is to treat consecutive delimiters as one (if TRUE). If FALSE, empty cells values are added between consecutive delimiters.
In order to retrieve the front space of each row, how about the following modified formulas?
=TRANSPOSE(SPLIT(SUBSTITUTE(C3;" ";"");",";;FALSE))
or
=TRANSPOSE(ARRAYFORMULA(TRIM(SPLIT(C3;",";;FALSE))))
Upvotes: 2