SUMA

Dodaje zestaw liczb.

Składnia

SUMA(Liczba 1 [; Liczba 2 [; … [; Liczba 255]]])

Liczba 1, Liczba 2, … , Liczba 255 to liczby, odwołania do komórek lub zakresów komórek zawierających liczby.

note

Ta funkcja ignoruje dowolny tekst lub puste komórki w zakresie danych. Jeśli podejrzewasz, że ta funkcja daje błędne wyniki, poszukaj tekstu w zakresach danych. Aby wyróżnić zawartość tekstową w zakresie danych, użyj funkcji wyróżniania wartości.


Przykład

=SUMA(2;3;4) zwraca 9.

=SUMA(A1;A3;B5) oblicza sumę trzech komórek.

=SUMA(A1:E10) oblicza sumę wszystkich komórek w zakresie komórek od A1 do 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.

tip

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