
Use the SUMPRODUCT function to multiply
and sum at once
The salary of each team has to be calculated. The teams’ numbers,
the daily working hours, and daily payment is recorded in a table.
To calculate the total salary for each team, the working hours have
to be multiplied by the payment and summed up for each day
worked. Use the SUMPRODUCT function to get the result.
4
To multiply and sum in one operation for each team:
1. In a worksheet, copy the range A1:E11 shown in Figure
6-10.
2. Select cells C13:C15 and type the following formula:
=SUMPRODUCT((($C$2:$C$11=B13)*
($E$2:$E$11))).
3. Press <Ctrl+Enter>.
Mathematical Functions 155
6
Figure 6-10