Last time you used SUM and AVERAGE to total and average the numbers in your project budget. Today you'll add four more formulas that answer a different kind of question: what is the smallest number, what is the biggest, and how many values are actually there? These are the functions that turn a raw list of costs into real information you can use.
=MIN, =MAX, =COUNT and =COUNTA on a range of cellsImagine you're helping to plan a class fundraiser. Someone hands you a list of 40 items and their prices and asks three quick questions. What is the cheapest item? What is the most expensive? How many items are on the list? Could you answer any of those using just SUM and AVERAGE? Which would be easy to spot by eye, and which would you hate to work out by hand from 40 rows?
Four new functions today. They all work on a range of cells and they all take the same shape: =FUNCTION(range). The trick is knowing which one to reach for.
| Concept | Why it matters | Example |
|---|---|---|
| MIN — returns the smallest number in a range | Finds the cheapest item instantly. | =MIN(B2:B20) on a shopping list returns the lowest price. |
| MAX — returns the largest number in a range | Finds the most expensive item at a glance. | =MAX(B2:B20) on a party shopping list shows the priciest thing. |
| COUNT — counts cells that contain numbers only, ignoring text | Tells you how many rows actually have a price filled in. | =COUNT(B2:B20) on a class-trip cost list returns 18 if two rows are missing a price. |
| COUNTA — counts all non-empty cells, text and numbers together | Tells you how many items are on the list overall, even when the cells hold words. | =COUNTA(A2:A20) on a class-trip sign-up sheet counts every student's name. |
Look at the column you want to count. If its cells hold numbers (prices, quantities), use =COUNT. If its cells hold words (item names, names of people), use =COUNTA. Running =COUNT on a column of words returns 0. That is the single most common mistake at this stage. When in doubt, COUNTA is the safer choice because it counts both.
You'll build a short worked example together: a six-item cost list for a class fundraiser, then answer five questions about it using MIN, MAX, COUNT, and COUNTA. This is practice, not portfolio work, so you don't need to save the file.
If something looks wrong on your sheet, check the table below before starting the portfolio build. Most problems are caused by picking the wrong function or the wrong range.
| Issue | Solution |
|---|---|
=COUNT returns 0 on a column of item names | COUNT ignores text. Switch to =COUNTA if the column holds words, not numbers. |
=MIN returns 0 instead of my smallest price | There is probably an empty cell or a literal 0 in the range. Check each cell; empty cells are ignored, but a cell showing 0 will win. |
#NAME? or #VALUE! error appears | Usually a typo in the function name (=MIMN(...)), or a missing bracket. Click the cell and rewrite the formula slowly. |
| The answer looks right but updates to the wrong number when I change a cost | Your range is too short or too long. Click the cell, read the range in the formula bar, and make sure it covers every row of data and nothing else. |
Before you start your own sheet, match each question to the right function in your head. No need to write anything down.
| Question | Function? |
|---|---|
| What is the shortest time anyone ran the 100m? | ? |
| How many people have signed up on a list of names? | ? |
| What is the top score out of 12 test results? | ? |
| How many prices are actually filled in (so I can spot missing ones)? | ? |
Answers: MIN, COUNTA (names are text), MAX, COUNT.