View Single Post
  #24  
Old October 29th, 2006, 09:57 PM posted to microsoft.public.excel.worksheet.functions
RagDyeR
external usenet poster
 
Posts: 3,482
Default Counting Unique Values

When quoting a statement, the perception is that the quote is the *exact*
depiction of the original.
However, to accentuate and bring attention to a portion of the quote, the
quote may be *modified*, and is therefore no longer an *exact* depiction of
the original (you didn't capitalize and wrap those words in asterisks).
It is proper decorum to bring attention to the modifications made to the
quote by the person using the quote.
"emphasis mine" is describing that *I* changed the quote by emphasizing a
portion of it.

Ragdyer is my "handle", going back to the old days of CB radio.
I carried it forward to the "new" internet.
It just describes my profession of being in the textile dyeing trade.
By coincidence, RD does not stand for RagDyer, but my actual name of Rick
Dormack.

I just continued to use my handle exclusively, when I was told by some here
that I *shouldn't*!bg
You can surmise by my name that I'm male.

Now, why all the secrecy about your identity?

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------



"Epinn" wrote in message
...
RD,

Thank you for asking. Sometimes I thought people could read my mind. g

What I was trying to say is this:-

Rob's formula =SUM(1/COUNTIF(A1:A9,A1:A9)) works fine when there are no
blanks in the array. However, since I am a fan of SUMPRODUCT, I'll use

=SUMPRODUCT(1/COUNTIF(A1:A9,A1:A9)) instead of

=SUM(1/COUNTIF(A1:A9,A1:A9)) + CSE

even if there are no blanks in the array.

The Sumproduct() formula Biff posted *will work* with blanks!


Totally agree. I am very much aware of what each formula in this thread
does as I have spent hours experimenting. Biff's formula is what I live by
when it comes to counting unique values. It just doesn't take care of
blanks but much more. As JMB highlighted, unlike the FREQUENCY formula
which takes care of blanks and numbers, Biff's formula will take care of
*text*, numbers and blanks. Sounds like a one-fits-all formula. I should
memorize it by heart. g

Now my turn to ask you. What do you mean by "(emphasis mine)?"

By the way, is Ragdyer your last name or first and last name combined i.e.
Rag = first name and Dyer = last name? I won't ask you about your gender.
g

Epinn

"Ragdyer" wrote in message
...
Don't understand this comment Epinn:
(emphasis mine)
"so I'll use SUMPRODUCT instead of SUM and CSE *IF THERE ARE NO
BLANKS*."

The Sumproduct() formula Biff posted *will work* with blanks!

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Epinn" wrote in message
...
Try test your formula with a range that contains a blank and you'll know why
the experts and I won't recommend it. Also, I am a fan of SUMPRODUCT, so
I'll use SUMPRODUCT instead of SUM and CSE if there are no blanks.

Thanks for dropping by and sharing.

Epinn

"Rob" wrote in message
...
Epinn,

The following formula entered as an array i.e. Ctrl+Shift+Enter will
correctly report 4 unique dates.

=SUM(1/COUNTIF(A1:A9,A1:A9))

HTH Rob

"Epinn" wrote in message
...
The formulae discussed in this thread should serve Bob's needs.

Experts, please confirm that the formulae are only good as long as there are
no trailing spaces.

e.g. AA111 and AA111__ ( __ are trailing spaces) will be counted twice.

If we are really picky, we'll do LEN( ), SUBSTITUTE ( ) etc., right?

Epinn

"bob" wrote in message
...
I have a column with the following dates:

11/23/05
11/23/05
11/23/05
11/25/05
11/25/05
11/28/05
12/1/05
12/1/05
12/1/05

I want a formula that will tell me how many unique dates there are in the
column. Can anyone help?

thanks,
Bob