=IF(COUNTIF(A$2:A2,A2)=COUNTIF(A:A,A2),A2,"")
=IF(C2= ""," ",TEXTJOIN("/",,IF(A$2:A$15=C2,B$2:B$15,""))
選擇“C2:D2 ”,然後下拉以填充。