View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico Miguel Zapico is offline
external usenet poster
 
Posts: 95
Default Sumproduct: condition with ?

The error is on the parenthesis. Thy this one:
=sumproduct((A1:A10="Y")*(B1:B105),(C1:C10))

Hope this helps,
Miguel.

"Sarah" wrote:

Hi the

Am using a sumproduct formula that looks like this:
=sumproduct(A1:A10="Y")*(B1:B105),(C1:C10)
Which did not work
So I tried
=sumproduct(A1:A10="Y")*(B1:B10"5"),(C1:C10)
Which did not work either.

Does some product not work with numeric conditions like 5? Is it only for
text conditions like ="Y"?
Thanks!