|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
=IFERROR(INDEX(T(OFFSET(B6,LOOKUP(MOD(ROW(INDIRECT("1:"&COUNTIF(A$6:A$29,F6)-1))+COUNTIF(F$6:F6,F6)-1,COUNTIF(A$6:A$29,F6)),ROW(INDIRECT("1:"&COUNTIF(A$6:A$29,F6)))-1,ROW(INDIRECT("$1:"&COUNTIF(A$6:A$29,F6)))-COUNTIF(F$6:F6,F6)),,)),SMALL(IF(COUNTIFS(OFFSET(A6,LOOKUP(MOD(ROW(INDIRECT("1:"&COUNTIF(A$6:A$29,F6)-1))+COUNTIF(F$6:F6,F6)-1,COUNTIF(A$6:A$29,F6)),ROW(INDIRECT("1:"&COUNTIF(A$6:A$29,F6)))-1,ROW(INDIRECT("$1:"&COUNTIF(A$6:A$29,F6)))-COUNTIF(F$6:F6,F6)),,),F6,OFFSET(C6,LOOKUP(MOD(ROW(INDIRECT("1:"&COUNTIF(A$6:A$29,F6)-1))+COUNTIF(F$6:F6,F6)-1,COUNTIF(A$6:A$29,F6)),ROW(INDIRECT("1:"&COUNTIF(A$6:A$29,F6)))-1,ROW(INDIRECT("$1:"&COUNTIF(A$6:A$29,F6)))-COUNTIF(F$6:F6,F6)),,),">"&C6),ROW(INDIRECT("1:"&COUNTIF(A$6:A$29,F6)-1))),2)),"无") |
|