View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cutter
 
Posts: n/a
Default How to count several non-adjacent cells


You say you want to count the cells that match but your attempted
formula uses sum. 2 very different things. I'll assume you actually
want to count them so try this:

=SUMPRODUCT(--(A1:F1=2005),--(A2:F20.7))+SUMPRODUCT(--(A1:F1=2005),--(A2:F2<0.03))


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=495749