SUM

Adds a set of numbers.

Sintassi

SUM(Numero 1 [; Numero 2 [; … [; Numero 255]]])

Numero 1, Numero 2, … , Numero 255 sono numeri, riferimenti a celle o a intervalli di celle di numeri.

note

Questa funzione ignora qualsiasi testo o cella vuota all'interno di un intervallo di dati. Se pensate che vi vengano restituiti dei risultati sbagliati da questa funzione, cercate il testo all'interno dell'intervallo. Per evidenziare del testo all'interno di un intervallo di dati usate la funzionalità Evidenzia valori.


Esempio

=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<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.