MIN and MAX
- MIN finds the smallest number.
- MAX finds the biggest number.
They have the same names in Google Sheets and in Excel.
In our grades, 1 is the best and 5 is the worst. So:
=MIN(B2:B6)= your best grade,=MAX(B2:B6)= your worst grade.
On paper
Grades 2, 1, 3, 2, 1:
- MIN = 1,
- MAX = 3.
In the spreadsheet
-
On the
Gradessheet, typeBestin A9 and=MIN(B2:B6)in B9. You’ll see 1. -
Type
Worstin A10 and=MAX(B2:B6)in B10. You’ll see 3. -
Change Spanish (B4) to 4. Worst changes to 4. Then change it back to 3.
The range must contain only the grades, not the average. If the average were in it, MIN and MAX would get it wrong.
The biggest spending
-
On the
Moneysheet, typeBiggest spendingin A14. -
In B14, type
=MAX(C2:C8). You’ll see 25 (Friday).
あなたの番 💪
- On
Grades, you have your best and worst grade. - On
Money, you have your biggest spending. - When you change a number, the result changes.
Done when: the spreadsheet finds the smallest and biggest number by itself.
What to take away from this lesson
- MIN = smallest, MAX = biggest.
- With our grades, MIN is the best grade.
- The range should contain only the data.
© 2026 Ing. Martin Polak / AlgoRhino · コンテンツ利用規約