Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Best way to get a list of unique entries in a field

I often need to create a list of the unique entries from a field.
Typically I would do this using the countif function as follows:

- Say the field is column c, I would enter =countif(c$1:c2,c2) in a
column and copy all the way down, then filter for all the (1's)

However, my dataset has grown to around 100,000 rows across 2 sheets,
and doing this is getting to be too annoying and resource intensive.

A simple autofilter suggests that Excel already knows all the unique
entries in a column, as evident when clikcing down the header row in an
autofiltered block of data. Is there any way to just get that
information without having to create formulas across thousands of rows?

Or, simply, what is the best and most efficient way to get a list of
unique entries in a column?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Alan
 
Posts: n/a
Default Best way to get a list of unique entries in a field

You need the Advanced Filter, have a look here,
http://www.contextures.com/xladvfilter01.html
Regards,
Alan.
wrote in message
ups.com...
I often need to create a list of the unique entries from a field.
Typically I would do this using the countif function as follows:

- Say the field is column c, I would enter =countif(c$1:c2,c2) in a
column and copy all the way down, then filter for all the (1's)

However, my dataset has grown to around 100,000 rows across 2 sheets,
and doing this is getting to be too annoying and resource intensive.

A simple autofilter suggests that Excel already knows all the unique
entries in a column, as evident when clikcing down the header row in an
autofiltered block of data. Is there any way to just get that
information without having to create formulas across thousands of rows?

Or, simply, what is the best and most efficient way to get a list of
unique entries in a column?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Best way to get a list of unique entries in a field

Hi!

Use the advanced filter and filter on unique values only. You can either
filter in place or copy the uniques to another location.

I just tried it on a range of 50,000 rows (copied the uniques to another
location) so it will work on a range of at least that size.

Biff

wrote in message
ups.com...
I often need to create a list of the unique entries from a field.
Typically I would do this using the countif function as follows:

- Say the field is column c, I would enter =countif(c$1:c2,c2) in a
column and copy all the way down, then filter for all the (1's)

However, my dataset has grown to around 100,000 rows across 2 sheets,
and doing this is getting to be too annoying and resource intensive.

A simple autofilter suggests that Excel already knows all the unique
entries in a column, as evident when clikcing down the header row in an
autofiltered block of data. Is there any way to just get that
information without having to create formulas across thousands of rows?

Or, simply, what is the best and most efficient way to get a list of
unique entries in a column?

Thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extracting unique entries and assigning it to a named range Hari Excel Discussion (Misc queries) 0 December 13th 05 06:29 AM
Count unique entries BeSmart Excel Worksheet Functions 7 August 30th 05 12:53 PM
Count of unique entries slang Excel Discussion (Misc queries) 4 July 3rd 05 06:45 AM
MRU list - entries keep changing Ellen Excel Discussion (Misc queries) 2 June 20th 05 09:19 PM
counting unique instances of text in a list WadeSansing Excel Worksheet Functions 5 June 1st 05 06:57 PM


All times are GMT +1. The time now is 12:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"