假定数据在A1:A98区域任意单元格输入数组公式:=IF(ROW(A1)>125-SUMPRODUCT(COUNTIF($A$1:$A$98,ROW($1:$125))),"",SMALL(IF(COUNTIF($A$1:$A$98,ROW($1:$125)),"",ROW($1:$125)),ROW(A1))) 需同时按ctrl+shift+Enter输入向下填充至出现空格