Fresh Excel Tips

Quick and Easy Excel Tips and Tutorials

How to use the SUMPRODUCT function in a formula in Excel

The SUMPRODUCT Function is one of the most time saving functions in all of Excel especially when you have a boatload of data to work with. What it does is total the products returned by multiplying the values in corresponding arrays. For one array to correspond to another, each must consist of the same number of rows and columns. If you don’t understand, don’t worry as we are going to use an example. In this example, the costs of all products in a supermarket have to be summed up to obtain the value of the entire inventory. The syntax for SUMPRODUCT is: SUMPRODUCT(array1, array2, …)

array1, array2, …: From 2 to 30 arrays whose components to be multiplied and then added.

How to Calculate the Supermarket’s Inventory

  1. Enter the data shown in Picture below or use your own format. The quantity of each product is listed along with the cost of each unit.
  2. Select cell B12 and type the following formula: =SUMPRODUCT(B2:B10,A2:A10).
  3. To check that this result is correct, select cells D2:D10 and type the following formula: =A2*B2.
  4. Press CTRL+Enter and then Sum the same range in cell D12.

You should now be set!

How to use the SUMPRODUCT function in a formula in Excel

How to use the SUMPRODUCT function in a formula in Excel
  1. Use the SUMPRODUCT function to multiply and sum at once
  2. How to Use and Define Arrays with correct Syntax in Excel VBA
  3. Conditional Average formula that ignores empty cells in Excel
  4. How to count sets of cells located in two columns in Excel
  5. Use the SMALL function to find the smallest values in Excel

1 Trackbacks & Pingbacks

  1. July 30, 2008 5:17 pm

    Use the SUMPRODUCT function to multiply and sum at once » Fresh Excel :

0 Comments

Leave a Reply