按条件合并条件对应的内容到一个单元格中
按条件合并条件对应的内容到一个单元格中估计楼主也没有textjoin函数。。。接受VBA吗? =TEXTJOIN("
",,REPT(COUNTIFS(A$2:A$13,A$2:A$13,B$2:B$13,B$2:B$13)&"个"&B$2:B$13,MATCH(A$2:A$13&B$2:B$13,A$2:A$13&B$2:B$13,)=ROW($1:$12)*(A$2:A$13=E2))) 大佬,好像不行哦 (先) B2 下拉{=IFERROR(MID(INDEX(TRIM(MID(SUBSTITUTE(F$2,CHAR(10),REPT(" ",99)),ROW($1:$5)*99-98,99)),SMALL(IF((0&LEFT(TRIM(MID(SUBSTITUTE(F$2,CHAR(10),REPT(" ",99)),ROW($1:$5)*99-98,99))))-COLUMN(A:I)>=0,ROW($1:$5)),ROW(A1))),3,9),"")
A2=IF(B2="","",E$2)
页:
[1]