← Excel and spreadsheets

MIN, MAX, COUNT and COUNTA

Smallest, largest, and how many cells hold numbers or anything at all.

Start this lesson

=MIN finds the smallest number in a range and =MAX the largest. =COUNT counts the cells that hold numbers. =COUNTA counts every cell that is not empty, including text. Blank cells are skipped by all four.

Example: B2:B7 holds 40, absent, 55, a blank, 38 and 61.

  1. MIN = 38, MAX = 61 — Text and blanks are ignored
  2. COUNT = 4 — Four cells hold numbers
  3. COUNTA = 5 — Four numbers plus one text cell

Why it works: COUNT asks whether a cell holds a number, and COUNTA only asks whether it holds anything. Asking different questions gives different counts on the same cells.

Tip: COUNTA minus COUNT tells you how many entries are text, a quick way to spot numbers typed as words.