Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
439 views
in Technique[技术] by (71.8m points)

Google sheet array formula + Join + Filter

Does anyone know how I could expand the join+filter with arrayformula? I need it to automatically expand instead of sliding the formulae into new rows.

Tried to search this problem but couldn't find a solution for myself.

Copy to sheet itself

Problem in question highlighted in orange.

Thanks a lot!

question from:https://stackoverflow.com/questions/66067714/google-sheet-array-formula-join-filter

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

JOIN is not supported under ARRAYFORMULA

use in row 2:

=ARRAYFORMULA(IFNA(REGEXREPLACE(VLOOKUP(A2:A, 
 SPLIT(TRIM(FLATTEN(QUERY(TRANSPOSE(QUERY(FILTER(
 {A2:A&"×", TEXT(B2:B, "dd.mm.yyyy hh:mm:ss")&" ;", B2:B}, J2:J<>""), 
 "select Col1,max(Col2) group by Col1 pivot Col3")),,
 9^9))), "×"), 2, 0), "^ |;$", )))

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...