Unique Records

R

Ronan

Hi, is there a way of returning the list of unique records from a list of
data. For example, my list could contain 1, 1, 2, 3, 1, 2, 9, 1, 4, 5, 4, 4,
3, 2, 3, etc... I know I can use the frequency function but my list has over
2000 entries and I dont know what the actual unique list of numbers is in
order to use the frequency function. I could also use a pivot table but was
hoping to use some formula or formulae.

Hope this makes sense

Thanks.
 
E

Eduardo

Hi,
suppose that your list start in C1 in D1 enter

=IF(COUNTIF($C$1:C1,C1)=1,C1,"")

copy formula down
 
G

Gary''s Student

If your data is in column B, then in A1 enter
1
and in A2 enter:
=IF(COUNTIF(B$1:B2,B2)>1,"",1+MAX(A$1:A1)) and copy down. For exmple:

1 Curley
Curley
Curley
Curley
2 Ignatz
Ignatz
Ignatz
Ignatz
Ignatz
Ignatz
Ignatz
3 Larry
Larry
Larry
Larry
Larry
4 Moe
Moe
Moe
Moe
Moe
5 Shepp
Shepp
Shepp
Shepp
Shepp
Shepp
Shepp
Shepp
Shepp
Then in D1 enter:
=IF(ISERROR(VLOOKUP(ROW(),A1:B30,2,FALSE)),"",VLOOKUP(ROW(),A1:B30,2,FALSE))
and copy down

This will display:


Curley
Ignatz
Larry
Moe
Shepp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top