=INDEX(A:A,SMALL(IF(MATCH($A$2:$A$13,$A$2:$A$13,0)=ROW($A$2:$A$13)-1,ROW($2:$13),4^8),ROW(1:1)))&""
=INDEX($B:$B,SMALL(IF($A$2:$A$13=$E2,ROW($A$2:$A$13),4^8),COLUMN(A1)))&""
=INDEX($B:$B,SMALL(IF(($A$2:$A$13=$E2)*($c$2:$c$13="否"),ROW($A$2:$A$13),4^8),COLUMN(A1)))&""
按ctrl+shift+enter结束
EXCEL中如果公式很长,在编辑栏中选择公式一部分,按F9可得到选择部分公式的结果