SUM

Adds a set of numbers.

Синтаксис

SUM(Число 1 [; Число 2 [; … [; Число 255]]])

Число 1, Число 2, … , Число 255 са числа или обръщения към клетки или диапазони от клетки с числа.

note

Тази функция игнорира текстовете и празните клетки в диапазон с данни. Ако подозирате, че резултатът ѝ е погрешен, потърсете текст в диапазоните с данни. За да осветите текстовото съдържание в диапазон с данни, използвайте функционалността за осветяване на стойности.


Пример

=SUM(2;3;4) returns 9.

=SUM(A1;A3;B5) calculates the sum of the three cells.

=SUM(A1:E10) calculates the sum of all cells in the A1 to E10 cell range.

A formula such as =SUM((A1:A40>=C1)*(A1:A40 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.

tip

Refer to the SUM wiki page for more details about this function.