One way to get the list without VBA
If data starts in cell A2
Try this in B2 and copy down

Formula: copy to clipboard
=IF(COUNTIF(A$2:A2,A2)=2,A2,"")