Našimi kurzy prošlo více než 10 000+ účastníků
2 392 ověřených referencí účastníků našich kurzů. Přesvědčte se sami
This article describes the principal differences between the SUM and SUMX functions.
Let´s use this table with unit prices and pieces. We are going to calculate total revenue (unit price * pieces) split by items.
So, for example, for Vanila ice cream, the result is going to be 2 880 (= 12 * 110 + 13 * 120).
Should we use SUM or SUMX in this case?
How SUM works?
The measure with SUM could be like this:
It is wrong. Why? Because SUM starts with summarizing of first column and second column, and then multiplies the results.
Let´s do it with SUMX. The syntax is like this:
It is correct. Because SUMX works row by row. Each row is calculated separately, and then the results are summarized.
Comments are closed.
2 392 ověřených referencí účastníků našich kurzů. Přesvědčte se sami
Pište kdykoliv. Odpovíme do 24h
© exceltown.com / 2006 - 2023 Vyrobilo studio bARTvisions s.r.o.
best explanation
That’s a simple but really clear explanation.
That’s a simple but really clear explanation too.