Author: Oscar Cronquist Article last updated on June 05, 2013

Unique values in a range are values occurring only once. This is what I am going to do in this blog post using array formula.

If you are looking for filtering unique distinct values sorted from A to Z, see this blog post: Extract a unique distinct list sorted from A-Z from range in excel

Filter unique values from a range

Filter unique text values from range

Array formula in B10:

=INDEX(tbl, MIN(IF((COUNTIF(tbl, tbl)=1)*(COUNTIF(B$9:$B9, tbl)<>1), ROW(tbl)-MIN(ROW(tbl))+1)), MATCH(FALSE, COUNTIF($B$9:B9, INDEX(tbl, MIN(IF((COUNTIF(tbl, tbl)=1)*(COUNTIF(B$9:$B9, tbl)<>1), ROW(tbl)-MIN(ROW(tbl))+1)), , 1))+COUNTIF(tbl, INDEX(tbl, MIN(IF((COUNTIF(tbl, tbl)=1)*(COUNTIF(B$9:$B9, tbl)<>1), ROW(tbl)-MIN(ROW(tbl))+1)), , 1))<>1, 0), 1) + CTRL + SHIFT + ENTER

copied down as far as necessary.

Named ranges

tbl (B4:E7)
What is named ranges?

How to implement array formula to your workbook

Change the named range. If your list starts at, for example, F3. Change $B$9:B9 in the above formulas to F2:$F$2.

Download excel sample file for this tutorial.

Extract-a-unique-list-from-a-range using array formula in excel.xls
(Excel 97-2003 Workbook *.xls)

Functions in this article:

Counts the number of cells within a range that meet the given condition

Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE

MATCH(lookup_value;lookup_array; [match_type]
Returns the relative position of an item in an array that matches a specified value

Returns a value or reference of the cell at the intersection of a particular row and column, in a given range

Returns the smallest number in a set of values. Ignores logical values and text

ROW(reference) returns the rownumber of a reference