Answer the question
In order to leave comments, you need to log in
How to use CONCATENATE and INDEX together?
Good afternoon! There is a form from which data goes to several "Class" columns, then a column is created with general data from the remaining columns, using "CONCATENATE".
But when filling out the form, a new row is created and the data disappears from the general column. Therefore, I created another sheet where I display everything that I need. Here I use INDEX and CONCATENATE, but it turns out to be displayed only this way, but it is necessary that the data go to each cell, except for D1: G1. Tell me please)
Answer the question
In order to leave comments, you need to log in
Maybe something like this will work for you
=ARRAYFORMULA(
REGEXREPLACE(
TRANSPOSE(QUERY(TRANSPOSE(D1:G&"|"),,COLUMNS(D1:G))),
"(\|\s*)+",
", " )
)
={"В строку";ARRAYFORMULA(REGEXREPLACE(
REGEXREPLACE(
TRIM(TRANSPOSE(QUERY(TRANSPOSE(D2:G&"|");;COLUMNS(D2:G))));
"(\|\s*)+";
", " );
"(^,\s*)|(,\s*$)";
""
))}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question