Reputation: 819
I would like to have the result by 1 formulas in the cell next to "TOTAL"
Right now I have to:
SUM(QTY1, QYT2, QTY3)*Price
on each rowSUM
Is there anyway to get the final result with 1 step something like SUMPRODUCT(PRICE, SUM(QTY1,QTY2,QTY3))
?
Upvotes: 0
Views: 2859
Reputation: 39177
You may decompose the formula into
SUMPRODUCT(PRICE, QTY1) + SUMPRODUCT(PRICE, QTY2) + SUMPRODUCT(PRICE, QTY3)
or use
SUMPRODUCT(PRICE, QTY1 + QTY2 + QTY3)
directly (PRICE
, QTY1
, ... are the names of the regions shown in your example) .
Upvotes: 2
Reputation: 13713
Maybe
SUMPRODUCT(Price*(QTY1+QTY2+QTY3))
Sorry, I cannot try it at the moment.
Upvotes: 1