A function is a built-in calculation you call by name. A handful of aggregate functions cover most everyday needs — totalling, averaging and counting a range.
The core aggregates
=SUM(B2:B10) total=AVERAGE(B2:B10) mean=COUNT(B2:B10) how many NUMBERS=COUNTA(B2:B10) how many NON-EMPTY cells (incl. text)=MIN(B2:B10) smallest=MAX(B2:B10) largest=MEDIAN(B2:B10) middle value
COUNT vs COUNTA
Key takeaways
- 01SUM, AVERAGE, MIN, MAX and MEDIAN summarise a numeric range.
- 02COUNT counts numbers; COUNTA counts any non-empty cell (including text).
- 03Functions take a range like B2:B10 as their argument.
- 04Alt+= (Autosum) inserts a SUM over the range above quickly.
