Make a list that excludes duplicates

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a listing that looks like this:

AAA 1
AAA 2
AAA 3
BB 1
BB 2
BB 3
BB 4
C 1
DD 1
DD 2
Etc.....

I want another list to link to this but only pick up the unique text entries
excluding the numbers, so the result should be:
AAA
BB
C
DD
Etc.....

If there have to be spaces in this second list then so be it, but I would
love to find a solution.
 
In addition, the number at the end will always be a single digit number.
Presumably that helps as I imagine the solution will contain a
left(len(a1)-2) or something similar.....
 
You might try the UNIQUEVALUES function in Laurent Longre's MOREFUNC.XLL
which can be downloaded from
http://xcell05.free.fr/

Highlight a range of the same size as your data and use
UNIQUEVALUES(TRIM(LEFT(data,LEN(data)-1)))
array entered (Ctrl-Shift-Enter)

Jerry
 
Back
Top