Thread: countif
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
L. Howard Kittle L. Howard Kittle is offline
external usenet poster
 
Posts: 698
Default countif

Try =SUMPRODUCT((A3:A12="week1")*(B3:B12="large"))

HTH
Regards,
Howard

"Jim W" <Jim wrote in message
...
I am trying to count the number of cells in column B="large" when the
condition in column A="week1". I tried the formula below and it counted
all
the "week1"s along with the "large". Any Ideas?

=COUNTIF(A3:A12,"week1")+COUNTIF(B3:B12,"large")