The function Unique returns the unique values from a range of cells.

Syntax:

=Unique(range of cells)

Range of cells. Array of cells to be evaluated for unique values.