=AVERAGEA(OFFSET($B$1,MATCH($F2,$A$2:$A$544,0)+TEXT(SUM(($A$2:$A$544=$F2)*1)-CHOOSE(COLUMN(A1),SUM(($A$2:$A$544=$F2)*1),100,SUM(($A$2:$A$544=$F2)*1)*80%,SUM(($A$2:$A$544=$F2)*1)*60%,SUM(($A$2:$A$544=$F2)*1)*50%,SUM(($A$2:$A$544=$F2)*1)*30%),"[>0];!0")*1,,MIN(LOOKUP(1,0/($A$2:$A$544=$F2),ROW($A$2:$A$544))-MATCH($F2,$A$2:$A$544,0)-TEXT(SUM(($A$2:$A$544=$F2)*1)-CHOOSE(COLUMN(A1),SUM(($A$2:$A$544=$F2)*1),100,SUM(($A$2:$A$544=$F2)*1)*80%,SUM(($A$2:$A$544=$F2)*1)*60%,SUM(($A$2:$A$544=$F2)*1)*50%,SUM(($A$2:$A$544=$F2)*1)*30%),"[>0];!0")*1,100)))三键 下拉 右拉 |