Problem:
Calculating the total sales price of all the items listed in column A, based on the amount of items sold (column B), and the price per unit (column C).
Solution 1:
Use the SUMPRODUCT function as shown in the following formula:
=SUMPRODUCT(B2:B5,C2:C5)
Solution 2:
Use the SUM function as shown in the following Array formula:
{=SUM((B2:B5)*(C2:C5))}
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.
The "=SUMPRODUCT(B2:B5,C2:C5)" tip is very useful. But this is not working while dragging horizontally. Help me to resolve this issue. Thanks.
Please and thanks