|
C23=INDEX(详表!$B$3:$B$101,MATCH(LARGE(((LEFT(排名表!$B$23,3)=详表!$C$3:$C$101)+(RIGHT(排名表!$B$23,9)=详表!$C$3:$C$101))*详表!$D$3:$D$101,ROW(A1)),((LEFT(排名表!$B$23,3)=详表!$C$3:$C$101)+(RIGHT(排名表!$B$23,9)=详表!$C$3:$C$101))*详表!$D$3:$D$101,))
D23=INDEX(详表!$B$3:$B$101,MATCH(SMALL(IF(((LEFT(排名表!$B$23,3)=详表!$C$3:$C$101)+(RIGHT(排名表!$B$23,9)=详表!$C$3:$C$101)),详表!$D$3:$D$101,4^8),ROW(A1)),IF(((LEFT(排名表!$B$23,3)=详表!$C$3:$C$101)+(RIGHT(排名表!$B$23,9)=详表!$C$3:$C$101)),详表!$D$3:$D$101,4^8),))
数组公式,最低5个好像模拟错了
新回复突然需要审核,在这一层回了。新学了一个函数
=LOOKUP(,0/(AGGREGATE(14+COLUMN(A1)-1,6,详表!$D$3:$D$102/((LEFT(排名表!$B$23,3)=详表!$C$3:$C$102)+(RIGHT(排名表!$B$23,9)=详表!$C$3:$C$102)),ROW(A1))=详表!$D$3:$D$102),详表!$B$3:$B$102)
下拉右拉即可 |
|