#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 152
Default Unique Entries

How can I take a range (a1:a100) that ISN'T sorted and find the number of
unique entries?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default Unique Entries

=SUM(IF(COUNTIF($A$1:$A$100,$A$1:$A$100)1,0,1))

This is an Array** formula. Press CTRL+SHIFT+Enter to commit the formula to
the cell. This is assuming data is in all 100 cells.
--
John C


"Alan" wrote:

How can I take a range (a1:a100) that ISN'T sorted and find the number of
unique entries?

  #3   Report Post  
Posted to microsoft.public.excel.misc
dlw dlw is offline
external usenet poster
 
Posts: 510
Default Unique Entries

copy the range to another range, then sort that range...

"Alan" wrote:

How can I take a range (a1:a100) that ISN'T sorted and find the number of
unique entries?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Unique Entries

You can use a formula like:
=SUMPRODUCT((A1:A10<"")/COUNTIF(A1:A10,A1:A10&""))
to count the number of unique entries in A1:A10.

You may want to look at Chip Pearson's site. He has lots of techniques to work
with duplicates:
http://www.cpearson.com/excel/Duplicates.aspx


Alan wrote:

How can I take a range (a1:a100) that ISN'T sorted and find the number of
unique entries?


--

Dave Peterson
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
Counting Unique Entries Tendresse Excel Discussion (Misc queries) 3 June 4th 07 08:19 AM
Unique couples of entries vsoler Excel Worksheet Functions 3 May 27th 07 02:29 AM
Unique Entries SJT Excel Discussion (Misc queries) 10 November 11th 06 02:02 PM
Unique Entries Kanwaljit Singh Dhunna Excel Worksheet Functions 1 April 22nd 05 02:59 AM
Unique Entries Jason Morin Excel Worksheet Functions 0 April 21st 05 05:41 PM


All times are GMT +1. The time now is 01:42 PM.

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

About Us

"It's about Microsoft Excel"