I have a spreadsheet that I am creating. This is an example:

A1(cell)

xyz
abc
def
def
xyz
abc
wer
xyz
wer

I would like to make a column that has each part listed once. Example

xyz
abc
def
wer


thanks in advance