← Cheat Sheets

Spreadsheet Math and Statistics Functions

Totals, rounding and rankings.

# Spreadsheet Math and Statistics Functions

Totals, rounding and rankings.

| Task | Formula |
|---|---|
| Sum / average | `=SUM(A1:A10)` `=AVERAGE(A1:A10)` |
| Median / mode | `=MEDIAN(A1:A10)` `=MODE(A1:A10)` |
| Min / max | `=MIN(A1:A10)` `=MAX(A1:A10)` |
| Nth largest / smallest | `=LARGE(A1:A10,2)` `=SMALL(A1:A10,2)` |
| Count numbers / non-empty | `=COUNT(A1:A10)` `=COUNTA(A1:A10)` |
| Rank | `=RANK(A1,A$1:A$10)` |
| Round | `=ROUND(A1,2)` `=ROUNDUP(A1,0)` `=ROUNDDOWN(A1,0)` |
| Remainder / absolute | `=MOD(10,3)` `=ABS(A1)` |
| Standard deviation | `=STDEV.S(A1:A10)` |
| Weighted total | `=SUMPRODUCT(A1:A5,B1:B5)` |
| Percent of total | `=A1/SUM(A$1:A$10)` |