Tutorial for the Excel Functions AVERAGE, MIN, and MAX

How many values do I have in my range?

This is a question everyone is asking, but there is a trap 🤔😱

The COUNT function

This is the function that comes to mind first, and that makes sense: you'd expect it to return the number of non-empty cells. But look at the result of the following function!

=COUNT(B1:B10)

The COUNT function of Excel

We have selected 10 cells, but the result shows 9 🤔

  • The COUNT function returns the number of cells containing numeric (number or date) values.
  • In this example, B1 contains the text 'Mon' and is therefore not counted in the result 😉

The COUNTA function

The COUNTA function counts all the cells with numeric values and text, but it doesn't count empty cells.

The COUNTA function of Excel

It's crucial to understand that Excel offers two functions for counting cells, each with a different logic and purpose.

Calculate the Average over the week

To calculate the average sales for each seller, you could simply divide the SUM by the number of days (5).

Averaging with the SUM function

But if you add a column for Saturday, you will have to change the divisor value to avoid an error like this one 😱

Wrong calculation of the average with the SUM function

It's better to use the AVERAGE function to avoid this kind of error (which is unfortunately very common).

  • The AVERAGE function will both sum the values and divide by the number of selected cells 😉
Tutorial AVERAGE function of Excel

How do I create an AVERAGE function?

As with the SUM function, there are several ways to create an AVERAGE function:

  1. Write the function directly in the cell =AVERAGE(
  2. From the Home tab in the ribbon, click the arrow next to the AutoSum button.
Average option in the autosum menu
  1. Or with Quick Analysis, but only if the column next to the selection is the one meant for the result.
Average with quick analysis

The only difference with the SUM function is that the AVERAGE function cannot be called by a keyboard shortcut.

MIN and MAX

Just as easily as we calculated the count and the average, we can also return the minimum and maximum values of a series.

For example, to find the minimum number of units sold in the week by our first salesperson, write =MIN(B2:F2).

MIN function with Excel

For the maximum, the formula is =MAX(B2:F2).

MAX function with Excel
Question Total for MIN and MAX

The trap is to carry over the SUM or AVERAGE reflex out of habit. For the Total row, applying MIN again across the whole week gives the single lowest value found among every day, and applying MAX again gives the single highest value. Summing or averaging the daily minimums and maximums instead would produce a meaningless number.

Now practice it yourself

Time to put COUNT, COUNTA, AVERAGE, MIN and MAX to work on a real case: analyze a week of sales figures and calculate the right statistics for each column and for the week as a whole.

MIN, MAX and AVERAGE

Find the lowest grade, the highest grade and the class average in a student grade sheet using MIN, MAX and AVERAGE — 3 guided steps.

Write the formula in cell B13

1 / 3

Lowest grade (MIN)

Write the formula in cell B14

2 / 3

Highest grade (MAX)

Write the formula in cell B15

3 / 3

Class average (AVERAGE)

Your score is

0%

Continue learning

Keep building your Excel skills with the rest of this tutorial series: