不重复排名
如附件,女装保暖系列,鄂东区只有销售3个款,但排名出现5个款试一下这个公式,R40单元格:
=IFERROR(INDEX($C:$C,MOD(TEXT(LARGE(IF($I$5:$I$500=$O40,D$5:D$500/1%%+ROW($5:$500)),ROW(A1)),"[>10000]0;A"),10000)),"") =INDEX($C:$C,RIGHT(LARGE(IF($I$5:$I$500=$O40,D$5:D$500)*10^4+ROW($5:$500),$P40),4))&"" =INDEX($C:$C,MOD(LARGE(IF($I$5:$I$500=$O5,D$5:D$500)/1%%+ROW($5:$500),$P5),10000))&""
数组
页:
[1]