View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips[_3_] Bob Phillips[_3_] is offline
external usenet poster
 
Posts: 2,420
Default Counting cells with text

=SUMPRODUCT(--(machine_range=machine_id),--(comment_range<""))

--
__________________________________
HTH

Bob

"neiltb" wrote in message
...
H,

I am trying to count cells that have text in them but using a second
column
as a criteria also.
ie I have a column 'machine' and a colum ' comment'. I want to be able
to
count the amount of times a particular machine has a comment attached
(there
are 15 machines and there may or may not be a comment).

neil