F
Frank Kabel
Hi all
during a discussion in the German NG I provided the following function
for counting unique entries in a range without counting blank rows:
=SUMPRODUCT((A1:A30<>"")/COUNTIF(A1:A30,A1:A30&""))
I think Harlan was the first one to post this (IMHO excellent)
solution. I had never problems with this formula but one regular in the
German NG stated the following problem:
- create a new, blank standard workbook
- enter the following:
A1: x
A2: y
A3: x
in B1 enter the formula from above.
Doing this in my workbook works just fine though he (and I definetly
believe him) encountered a #DIV/0 error returned from this formula.
Only after entering values in the range A4:A30 and afterwards clearing
them the error disappeared!
Has anybody else encountered this problem?
And even more important: Does anybode know the cause (we sepculated
about a problem of COUNTIF in combination with calculating the
usedrange..)
during a discussion in the German NG I provided the following function
for counting unique entries in a range without counting blank rows:
=SUMPRODUCT((A1:A30<>"")/COUNTIF(A1:A30,A1:A30&""))
I think Harlan was the first one to post this (IMHO excellent)
solution. I had never problems with this formula but one regular in the
German NG stated the following problem:
- create a new, blank standard workbook
- enter the following:
A1: x
A2: y
A3: x
in B1 enter the formula from above.
Doing this in my workbook works just fine though he (and I definetly
believe him) encountered a #DIV/0 error returned from this formula.
Only after entering values in the range A4:A30 and afterwards clearing
them the error disappeared!
Has anybody else encountered this problem?
And even more important: Does anybode know the cause (we sepculated
about a problem of COUNTIF in combination with calculating the
usedrange..)