View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Biddulph[_2_] David Biddulph[_2_] is offline
external usenet poster
 
Posts: 8,651
Default count for multiple conditions in multiple columns

=SUMPRODUCT((A1:A100<0)*(B1:B100<0))
--
David Biddulph

"tturklsu" wrote in message
...

I have two columns of numbers and i want to count how many times both
columns
have a nonzero number on the same row. What is the formula to do this?