Skip to content
YTutorby Yilmaz
EnglishEN

Topic 2 of 15, EHL Maths & Excel final (AP)

Σ

SUM, AVERAGE, MAX, MIN, LARGE, SMALL, COUNT, COUNTA

The basic functions are easy points in the exam, as long as you pick the one that matches the words of the question.

When the exam asks for it

  • “total”, “add all” → SUM
  • “mean”, “average” → AVERAGE
  • “highest” / “lowest” → MAX / MIN
  • “2nd largest”, “3rd highest” → LARGE
  • “2nd smallest”, “3rd lowest” → SMALL
  • “how many numbers” → COUNT
  • “how many entries / non-empty cells” → COUNTA

Formulas

Total=SUM(range)
Average=AVERAGE(range)
Highest / lowest=MAX(range) / =MIN(range)
k-th largest=LARGE(range, k)
k-th smallest=SMALL(range, k)
Count numbers=COUNT(range)
Count non-empty cells=COUNTA(range)
Count text cells (mixed range)=COUNTA(range)-COUNT(range)

Worked example

B9fx=SUM(B2:B8)
ABC
1NightRoom revenue (CHF)
2Mon320
3Tue450
4Wed280
5Thu510
6Fri390
7Sat450
8Sunclosed
9
Sheet1
⬇ Download practice ExcelExample, Practice and Answers sheets with working formulas. Free.

Step by step

  1. =SUM(B2:B8)2,400
  2. =AVERAGE(B2:B8)400 (the text “closed” is ignored)
  3. =MAX(B2:B8)510
  4. =LARGE(B2:B8, 2)450
  5. =SMALL(B2:B8, 2)320
  6. =COUNT(B2:B8)6
  7. =COUNTA(B2:B8)7
  8. =COUNTA(B2:B8)-COUNT(B2:B8)1 text cell

⚠ Exam traps

  • LARGE and SMALL count duplicates: in 450, 510, 450 the 2nd largest is 450, not a different number.
  • COUNT only counts numbers. COUNTA counts everything that is not empty.
  • Text-counting trap: COUNTA-COUNT gives the number of text cells in a mixed range, but it also counts TRUE/FALSE and error values if there are any.
  • AVERAGE ignores text and empty cells, but a 0 is a number and is included.
Practice question

A range contains 12, 30, 18, 30, 25. What does =LARGE(range, 2) return?

Show answer

✓ 30. The two 30s are counted separately, so the 1st largest is 30 and the 2nd largest is also 30.

Stuck on this topic before your exam? We explain it one-to-one on your own Excel files, live online. Short crash courses before the EHL Maths & Excel final are possible on weekdays and weekends.

Book a lesson

Tell us your course, your exam date and the topics that worry you. We start with what matters most for your grade.

Send a message

We answer by email or WhatsApp.

Give your email or your WhatsApp number (or both) so we can answer you.

← Pass AP guide← Pass AP
WhatsApp