Re: Counting Unique Values
- From: "Bob Phillips" <bob.NGs@xxxxxxxxxxxxx>
- Date: Mon, 23 Oct 2006 09:48:57 +0100
"Epinn" <someone@xxxxxxxxxxxxxxxxxxx> wrote in message
news:%23TqQCEn9GHA.3960@xxxxxxxxxxxxxxxxxxxxxxx
Biff,
That's brilliant! Some time ago, I found the following array formulasuggested by an expert.
{=SUM(COUNTIF(A1:A15,A1:A15)/IF(NOT(COUNTIF(A1:A15,A1:A15)),1,COUNTIF(A1:A15
,A1:A15))^2)}
Like your formula, it takes care of blanks in the array as well.your formula.
Can you confirm that both your formula and the above formula do
exactly the same thing i.e. count unique text and numeric values in
a range which may contain blanks. If yes, I'll replace the above with
They are essentially the same formula. You can simplify it by removing the ^
2 and testing for blan k
=SUM((A1:A15<>"")/IF(NOT(COUNTIF(A1:A15,A1:A15)),1,COUNTIF(A1:A15,A1:A15)))
which starts to look more like the SP version.
.
- References:
- Re: Counting Unique Values
- From: Biff
- Re: Counting Unique Values
- From: Epinn
- Re: Counting Unique Values
- Prev by Date: Re: Counting Unique Values
- Next by Date: Re: how do i highlight a date that is 4+ days old in excel?
- Previous by thread: Re: Counting Unique Values
- Next by thread: Re: Counting Unique Values
- Index(es):
Relevant Pages
|