Oops,
Posted my 'test' version - which used a different range. Yours should be:
=SUMPRODUCT((A13:A100<"")/COUNTIF(A13:A100,A13:A100&""))-SUMPRODUCT((A13:A1
00=0)/COUNTIF(A13:A100,A13:A100&""))
to elimitate blank rows and rows with 0s, or
=SUMPRODUCT((A13:A100<"")/COUNTIF(A13:A100,A13:A100&""))-SUMPRODUCT((A13:A1
00="")/COUNTIF(A13:A100,A13:A100&""))
to eliminate only empty (blank) rows.
Cheers
"Mike" wrote in message
...
Hi,
I am using the formula below which was posted recently, to count the
number of rows in the defined range excluding duplication which works great.
How would I change this to also exlcude blank rows from the defined range ?.
Thanks for your help
Mike
=SUMPRODUCT((A13:A100<"")/COUNTIF(A13:A100,A13:A100&""))
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.561 / Virus Database: 353 - Release Date: 13/01/2004