View Single Post
  #21   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default "COUNTU" function in Excel to count unique entries in a range

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Deb in Washington" <Deb in wrote in
message ...
AWESOME, thanks so much!! My work thanks you too b/c i have hundreds of
cells of data and need to count how many unique accts i'm assigning the
person to complete BUT have to leave all the duplicates next to each
other.

"Biff" wrote:

Hi!

In order to count the number of unique entries in a range of cells, a
very
complicated nested set of functions (SUM, IF, FREQUENCY, MATCH, LEN,
etc.)
is
required in Excel.


Not really!

=SUMPRODUCT((A1:A15<"")/COUNTIF(A1:A15,A1:A15&""))

Biff

"WayneL" wrote in message
...
In order to count the number of unique entries in a range of cells, a
very
complicated nested set of functions (SUM, IF, FREQUENCY, MATCH, LEN,
etc.)
is
required in Excel.

I suggest adding a COUNTU worksheet function that would automatically
count
the number of unique data entries. It should have options for counting
numbers, numbers + text, excluding blank cells, etc.

Thanks,
Wayne

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the
"I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and
then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions