SUM

Sečte množinu čísel.

Syntaxe

SUM(Číslo 1 [; Číslo 2 [; … [; Číslo 255]]])

Číslo 1, Číslo 2, … , Číslo 255 jsou čísla nebo odkazy na buňky či oblasti buněk s čísly.

note

Tato funkce ignoruje veškerý text a prázdné buňky v oblasti dat. Jestliže se zdá, že funkce vrací chybné výsledky, vyhledejte v oblastech dat text. Textový obsah můžete zvýraznit pomocí zvýrazňování hodnot.


Příklady

=SUM(2;3;4) vrátí 9.

=SUM(A1;A3;B5) vypočítá součet tří buněk.

=SUM(A1:E10) vypočítá součet všech buněk v oblasti A1 až E10.

A formula such as =SUM((A1:A40>=C1)*(A1:A40<C2)*B1:B40) may be entered as an array formula by pressing the Shift+Enter keys instead of simply pressing the Enter key to finish entering the formula. The formula will then be shown in the Formula bar enclosed in braces and operates by multiplying corresponding elements of the arrays together and returning their sum.