Skip to the workspace
Pebellslearn by building
Analysis and Reporting with Excel  ›  Capstone Project

SUM, COUNT, AVERAGE, MIN and MAX

AVERAGE 15 minSummary functions turn a column into one number: SUM adds, COUNT counts numeric cells, AVERAGE divides the sum by that count, and MIN and MAX find the extremes.

data analyst / SUM, COUNT, AVERAGE, MIN and MAX

Explore each scene at your own pace.

01 · The rule

The rule

SUM, COUNT, AVERAGE, MIN and MAX

Every report Nisha reads ends in a summary row: how many, how much in total, what is typical, and the best and worst. Five functions build that row, and together they answer most "quick numbers" questions an analyst hears. Here is the week of cold-coffee sales, in B2:B8:

A B
1 day cups
2 Mon 40
3 Tue 38
4 Wed 36
5 Thu 43
6 Fri 46
7 Sat 95
8 Sun 38

The rule

Sum adds, count counts numbers, average is sum over count.

formula what it does result
=SUM(B2:B8) adds every number 336
=COUNT(B2:B8) counts cells that hold numbers 7
=AVERAGE(B2:B8) SUM ÷ COUNT 48
=MIN(B2:B8) the smallest number 36
=MAX(B2:B8) the largest number 95

How they treat awkward cells matters more than the formulas themselves:

  • Blank cells and text are skipped by all five. A blank does not count as a day, and does not drag the average down.
  • Zero is a number. It is counted, and it lowers the average.
  • COUNT ignores text. To count every non-empty cell, including text such as names, use COUNTA. To count blanks, use COUNTBLANK.

Each one has a conditional sibling for "only the rows that match": COUNTIF, SUMIF, AVERAGEIF. For example, =SUMIF(D2:D6, "C01", F2:F6) totals the amount column for cold-coffee orders only.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.