View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default SUMIF with 2 ranges and 2 criteria's, totaling the same sum range.

=SUMPRODUCT(--(A1:A10="S"),--(B1:B10="RD"),--(C1:C10))

If this post helps click Yes
---------------
Jacob Skaria


"ADC76" wrote:

Hello,
I'm trying to modify an existing formula which only adds the sum range if
another range has an "s" in it. Here's the formula: =SUMIF(A1:A10,"S",C1:C10)

Now I would like to add another range and condition to the formula. I was
thinking:
(B1:B10,"RD"). I don't know how to incorporate that into the existing
formula though. C1:C10 still remaining the sum_range, as it is.

Thanks for your help,
ADC76