不使用辅助列,对条件求和的结果进行排序
不使用辅助列,对条件求和的结果进行排序,详见图解及附件,谢谢!附件~~~~~~~~~
卧槽 牛逼啊~ =INDEX(A:A,MOD(--TEXT(LARGE(MMULT(($B$1:$G$1<>2025)*($B$2:$G$9),ROW(1:6)^0)/1%+ROW($2:$9),ROW(1:1)),"[<]99"),100))&"" J2=IF(COLUMN(A1)=1,INDEX(A:A,MOD(ABS(LARGE(TEXT((TRANSPOSE(MATCH(A$2:A$9,A:A,))=COLUMN(B1:I1))*MMULT(S1:Z1+1,(TRANSPOSE(A$2:A$9)=A$2:A$9)*MMULT((B$1:G$1<>2025)*B$2:G$9,Z1:Z6+1))/1%+COLUMN(B:I),"[<9]99")/1,ROW(A1))),100))&"",TEXT(SUM(($A$2:$A$9=I2)*($B$1:$G$1<>2025)*$B$2:$G$9),"0;;"))
数组三键下拉右拉。 不知道你要的是累加的结果。这样:
=INDEX(A:A,RIGHT(LARGE(TEXT(MMULT(SUMIF(A$2:A$9,A$2:A$9,OFFSET(A$2:A$9,,{1,2,3,4,6})),ROW(1:5)^0)*(MATCH(A$2:A$9,A$2:A$9,)=ROW($1:$8)),"[>]0;-99")/1%+ROW($2:$9),ROW(1:1)),2))&"" 有米有大佬在线,求解~ 您好,如果是对字母列进行去重的话呢。
多条件求和并排序.rar 您好,大佬,谢谢您,感谢您的帮助。如上楼这种情况,如果需要对字母列进行去重的话,这个公式需要怎么修改呢? =INDEX(A:A,RIGHT(LARGE(TEXT(MMULT(($B$1:$G$1<>2025)*($B$2:$G$9),ROW(1:6)^0)*(MATCH(A$2:A$9,A$2:A$9,)=ROW($1:$8)),"[>]0;-99")/1%+ROW($2:$9),ROW(1:1)),2))&""