=SUM(COUNTIF(INDIRECT({"A1","A3","A4","A6","A8"}),">0"))
--
HTH
Bob Phillips
(remove nothere from the email address if mailing direct)
"anre5180" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> A1,A2,A3,A4,A5,A6,A7,A8
> 5,5,6,0,4,1,7,0
>
> Count the cells A1,A3,A4,A6,A8 where value is greater than 0
>
> return should be 3
>
> how do i do this?
>
> Please note it is NOT a range(otherwise it would be easy), they are
> non-contiguos.
>
>
> --
> anre5180
> ------------------------------------------------------------------------
> anre5180's Profile:
http://www.excelforum.com/member.php...o&userid=31778
> View this thread: http://www.excelforum.com/showthread...hreadid=515011
>