Forum Discussion
Wee001
Oct 29, 2023Copper Contributor
Question on Merging of rows
Hi, I have a sheet of over 5000 rows, and I'm looking to merge rows with a similar name, while combining the rows so that main row contains all the necessary information. Not really sure how to expla...
peiyezhu
Oct 30, 2023Bronze Contributor
=webservice("https://e.anyoupin.cn/EData/?v=111&q=cli_tb~sht~"&a17&b19
a17=
ARRAYTOTEXT(A2:G9,1)
a19=
=webservice("https://e.anyoupin.cn/EData/?v=111&q=cli_tb~sht~"&a17&select f01,f02,colIdxf[2:]{iif(cast(group_concat(%s,'') as int)=1,"TRUE","FALSE")} from sht group by f01,f02
a21=TEXTSPLIT(A19,"□","△")
peiyezhu
Oct 30, 2023Bronze Contributor
a19=
webservice("
cli_tb~sht~{"Ben","Lee",TRUE," "," "," "," ";"Ben","Lee"," ",TRUE," "," "," ";"Ben","Lee"," "," ",TRUE," "," ";"Jon","Wee"," ",TRUE," "," "," ";"Jon","Wee"," "," "," ",TRUE," ";"Roy","Ho"," "," "," "," ",TRUE;"Roy","Ho"," "," ",TRUE," "," ";"Roy","Ho",TRUE," "," "," "," "}
;
select f01,f02,colIdxf[2:]{group_concat(%s,'-')} from sht group by f01,f02;
select f01,f02,colIdxf[2:]{iif(instr(group_concat(%s,'-'),'1'),'TRUE','FALSE')} from sht group by f01,f02")
webservice("
cli_tb~sht~{"Ben","Lee",TRUE," "," "," "," ";"Ben","Lee"," ",TRUE," "," "," ";"Ben","Lee"," "," ",TRUE," "," ";"Jon","Wee"," ",TRUE," "," "," ";"Jon","Wee"," "," "," ",TRUE," ";"Roy","Ho"," "," "," "," ",TRUE;"Roy","Ho"," "," ",TRUE," "," ";"Roy","Ho",TRUE," "," "," "," "}
;
select f01,f02,colIdxf[2:]{group_concat(%s,'-')} from sht group by f01,f02;
select f01,f02,colIdxf[2:]{iif(instr(group_concat(%s,'-'),'1'),'TRUE','FALSE')} from sht group by f01,f02")