View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom Peo Sjoblom is offline
external usenet poster
 
Posts: 3,268
Default Counting non-blank cells

One way

=SUMPRODUCT(--(LEN(A1:A10)0))


--
Regards,

Peo Sjoblom


"Joe M." wrote in message
...
I have a column with cells that contain the results of a formula:
=IF(B8=B9,"",B9)
In some cases the value is blank (""), in others the value is filled. When
I
try to count the values using COUNTA, the resulting count includes the
cells
where the formula result is "". How do I count only the cells that have a
value other than ""?

Thanks,
Joe M.