Leading the way in Microsoft Office Development
 Home|Excel|Word|PowerPoint|Consultancy|Feedback|Contact 
 Microsoft Excel > Functions > Maths and Trigonometry > SUMPRODUCT

 

SUMPRODUCT(array1 [,array2] [,array3] [, …])

 
 Returns the sum of the product of one or more arrays of values.

 array1The first array.
 array2The second optional array.
 array3The third optional array.

 REMARKS
 
  • If the array arguments have different dimensions, then #VALUE! is returned.
     
  • Any non numeric arguments are treated as zero.
     
  • Using the SUM() function with arrays (see examples 8 and 11) can often provide a more general solution than using this function.
     
  • You can have a maximum of 30 arguments.
     
  • Example 1 - What is (1 + 2 + 3).
     
  • Example 2 - This is equivalent to Example 1.
     
  • Example 3 - What is (1 + 2 + 3 + 4).
     
  • Example 4 - What is (1 * 2 * 3 * 4).
     
  • Example 5 - This is equivalent to Example 4.
     
  • Example 6 - What is (1*3) + (2*4).
     
  • Example 7 - This is equivalent to Example 6.
     
  • Example 8 - Array Formula. This is equivalent to Example 7.
     
  • Example 9 - What is (1*4) + (2*5) + (3*6).
     
  • Example 10 - This is equivalent to Example 9.
     
  • Example 11 - Array Formula. This is equivalent to Example 9.
     
  • Example 12 - What is (1*6) + (2*7).
     
  • Example 13 - What is (1*3) + (2*4) + (6*8) + (7*9).
     
  • Example 14 - This is equivalent to Example 13.
     
  • For more working examples please refer to the SUMPRODUCT Function page.

     EXAMPLES
     
     ABC
    1=SUMPRODUCT(1,2,3) = 616
    2=SUMPRODUCT(B1:B3) = 627
    3=SUMPRODUCT({1,2,3,4}) = 1038
    4=SUMPRODUCT(1,2,3,4) = 2449
    5=SUMPRODUCT(B1,B2,B3,B4) = 24510
    6=SUMPRODUCT({1,2},{3,4}) = 11  
    7=SUMPRODUCT({1,2}*{3,4}) = 11  
    8{=SUM({1,2}*{3,4})} = 11  
    9=SUMPRODUCT({1,2,3},{4,5,6}) = 32  
    10=SUMPRODUCT({1,2,3}*{4,5,6}) = 32  
    11{=SUM({1,2,3}*{4,5,6})} = 32  
    12=SUMPRODUCT(B1:B2,C1:C2) = 20  
    13=SUMPRODUCT(B1:C2,B3:C4) = 122  
    14=SUMPRODUCT({1,6;2,7},{3,8;4,9}) = 122  
    15=SUMPRODUCT(MMULT({1,2;3,4},{1,2;3,4})) = 54  
    16=SUMPRODUCT({3,4;8,6;1,9},{2,7;6,7}) = #VALUE!  
    17=SUMPRODUCT((A1:A20>=5)*(A1:A20<=10)*A1:A20)  
     

     Functions - S | Index - S | Office Online 

     Copyright © 2004-2007 Better Solutions Limited. All Rights Reserved.Top