=IF(ISERROR(INDEX(D:D,MATCH(A1,C:C,0),1))=TRUE,"",INDEX(D:D,MATCH(A1,C:C,0),1))

2024-12-18 02:39:57
推荐回答(1个)
回答1:

=INDEX(IF(ROW(A1)>SUM(IF($B$2:$B$30>"",1/COUNTIF($B$2:$B$30,$B$2:$B$30))),$D$2:$D$30,$B$2:$B$30),MATCH(,COUNTIF($F$1:$F1,IF(ROW(A1)>SUM(IF($B$2:$B$30>"",1/COUNTIF($B$2:$B$30,$B$2:$B$30))),$D$2:$D$30,$B$2:$B$30)),))&""

数组公式,按三键完成公式,下拉。