
Use the SUMPRODUCT function to sum sales
of a particular team
The worksheet below contains the sales of different teams. As dis-
cussed earlier, summing up the sales of each team can be done with
the SUMIF function. Another way to get a result is by using the
SUMPRODUCT function.
4
To sum the sales of Team 1:
1. Use the values in Figure 6-9 to fill in columns A and B.
2. Select cell B12 and type the following formula:
=SUMPRODUCT((A2:A10=1)*(B2:B10)).
3. To check the result, select cells D2:D10 and type the fol-
lowing formula: =IF(A2=1,B2,"").
4. Press <Ctrl+Enter> to enter the formula in the selected
range of cells.
5. Select cell D12 and enter the following ...