怎么把多行单元格数据快速合并在一行
例如这种:上传附件,说明需求
怎么快速变更至后面的格式 H2
=IF(AND(F2<>"",G2<>""),TEXTJOIN("、",,IF((LOOKUP(ROW($2:$8),ROW($2:$8)/($A$2:$A$8<>""),$A$2:$A$8)&LOOKUP(ROW($2:$8),ROW($2:$8)/($B$2:$B$8<>""),$B$2:$B$8))=F2&G2,$C$2:$C$8,"")),"")
下拉 F2右拉下拉
=IF($A2="","",IF(COLUMN()<8,A2,TEXTJOIN("、",,A2:INDEX(A:A,MODE(ROW(2:18)+($B3:$C19="")%))))) 右拉下拉
=IF($A2="","",TEXTJOIN("、",,OFFSET(A2,,,IFNA(MATCH(1=1,$B3:$B8>0,),9)))) =IF(A2="","",TEXTJOIN("、",1,OFFSET(C2,,,MODE((B3:C8="")%+ROW(3:8))-ROW())))
下拉2019以上或wps支持 =REPT(TEXTJOIN("、",1,OFFSET(A2,,,MATCH(1=0,$A3:$A8=0,-1))),$A2>"") 1-9楼,我试了,都是显示#NAME?
J是不是我的版本需要升级啊,我的是2010