View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
macamarr macamarr is offline
external usenet poster
 
Posts: 6
Default Sumproduct not working

Thank You All, works great and problem solved.

"Dave Peterson" wrote:

One mo

=sum(countif(c4:ag4,{"s","l","v","wc"}))


macamarr wrote:

Read through many post. This seems to be the one I need but it is failing me.
I keep getting a sum of 0. It will work if remove all but one criteria,
anymore I get sum 0. The sum should be 6 Occurrences..................
"Wc"=2 "S"=2 "L"=1 "V"=1

What am I doing wrong?

=SUMPRODUCT(--(C4:AG4="S"),--(C4:AG4="L"),--(C4:AG4="V"),--(C4:AG4="WC"))


--

Dave Peterson