View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John[_22_] John[_22_] is offline
external usenet poster
 
Posts: 694
Default Sumif with multiple sum ranges in a sheet

Hi MA
Try this =SUMPRODUCT(--(A2:A4="A"),B2:B4+C2:C4)
HTH
John
"MA" wrote in message
...
Hi experts,

I need to sum multiple columns in a range which meets a criteria in one of
the columns of the range.

For example
C1 C2 C3
R1 A 10 10
R2 B 4 5
R3 A 2 1

I need to sum columns C2&C3 if value in column C1 is equal to A. In this
case the result should be 23.

thanks