Skip to content
ArumSoft Learning
KO

    Excel Basics · Tutorial 5 of 12

    Essential Excel Functions: SUM, AVERAGE, COUNT, MIN and MAX

    Summarize any column of numbers with five functions: total it, average it, count it and find its lowest and highest values.

    Level
    Beginner
    Time
    10 min read
    Updated:
    Applies to:
    Excel for Microsoft 365, Excel 2021, Excel 2019, Excel for the web
    SUM adds every number in B2:B6. The empty cell adds nothing.
    Example: SUM adds every number in B2:B6. The empty cell adds nothing.

    What you'll learn

    • Write a function with a range such as B2:B6
    • Total and average a column with SUM and AVERAGE
    • Find the lowest and highest values with MIN and MAX
    • Count the cells that hold numbers with COUNT
    • Insert any of these functions from the AutoSum menu

    Example file

    Essential Excel Functions - SUM, AVERAGE, COUNT, MIN and MAX.xlsx

    Download the workbook used in this tutorial and follow along in Excel.

    Excel workbook (.xlsx) · 7 KB

    Download example file

    Watch the video

    Video · Follow along as the video summarizes a column of numbers with SUM, AVERAGE, MIN, MAX and COUNT.

    Function Playground

    Try these functions in a live sheet

    Type formulas in an Excel-style grid and watch each step of the calculation. Free, no sign-up.

    A function is a formula someone has already written for you. Instead of adding a column cell by cell, you give the function a range and Excel does the work. Five functions cover most everyday summaries: SUM, AVERAGE, MIN, MAX and COUNT. Together they tell you the total, the typical value, the extremes and how many entries you actually have.

    The examples use a reading tracker. Eli hasn't logged any pages yet, so B6 is empty; you'll see how each function treats that empty cell.

    AB
    1ReaderPages read
    2Avery150
    3Ben90
    4Chloe120
    5Dev65
    6Eli
    7Total
    8Average
    9Readers with pages
    10Highest − lowest
    Pages read by five people. Eli's cell, B6, is still empty. The summary goes in B7:B10.

    How a function is built

    Every function follows the same pattern:

    =SUM(B2:B6)
    • = starts the formula, as always.
    • SUM is the function's name. Capitals don't matter; Excel converts them for you.
    • The parentheses hold the arguments, the values the function works on. Here it's one range.
    • B2:B6 is a range: every cell from B2 down to B6, five cells in all. The colon means "through".

    =SUM(B2:B6) and =B2+B3+B4+B5+B6 give the same answer, but the function is shorter, is easier to check, and if you insert a row inside the range later, the range grows to include it.

    As you type =AV, Excel lists the functions whose names start with those letters. Press Tab to accept the highlighted one; Excel fills in the name and the opening parenthesis.

    Total and average a column

    1. Total the pages with SUM

      Click B7, type =SUM(, select B2:B6 and press Enter. The result is 425.

      AB
      1ReaderPages read
      2Avery150
      3Ben90
      4Chloe120
      5Dev65
      6Eli
      7Total425
      8Average
      9Readers with pages
      10Highest − lowest
      SUM adds every number in B2:B6. The empty cell adds nothing.
    2. Find the average with AVERAGE

      Click B8 and enter the formula below. The result is 106.25.

      =AVERAGE(B2:B6)

    Look at how AVERAGE got 106.25. It added the four numbers (425) and divided by 4, not 5, because it skips empty cells. That's usually what you want: Eli hasn't reported yet, so he shouldn't pull the average down.

    A zero is different. If B6 held 0, AVERAGE would divide by 5 and return 85. Leave a cell empty when a value is missing, and type 0 only when the value really is zero.

    Find the lowest and highest values

    MIN returns the smallest number in a range and MAX the largest:

    Fewest pages: 65 (Dev)
    =MIN(B2:B6)
    Most pages: 150 (Avery)
    =MAX(B2:B6)

    Like AVERAGE, both skip empty cells. With a 0 in B6, MIN would return 0.

    You can combine functions with ordinary arithmetic. The gap between the most and the fewest pages read is:

    150 − 65 = 85
    =MAX(B2:B6)-MIN(B2:B6)

    MIN and MAX give you the value, not the name next to it. Finding who read 150 pages is a job for a lookup function, which comes later.

    Count your entries

    COUNT tells you how many cells in a range hold a number. It doesn't add anything up.

    Four people have logged pages: 4
    =COUNT(B2:B6)

    The result is 4: the empty cell isn't counted. COUNT skips text too, so =COUNT(A2:A6) returns 0, because the names are text. To count every cell that isn't empty, numbers and text alike, use COUNTA. =COUNTA(A2:A6) returns 5, one for each reader.

    Comparing the two tells you something useful: 5 readers, 4 entries, so one person still has to report.

    AB
    1ReaderPages read
    2Avery150
    3Ben90
    4Chloe120
    5Dev65
    6Eli
    7Total425
    8Average106.25
    9Readers with pages4
    10Highest − lowest85
    The finished summary: a total of 425, an average of 106.25, 4 entries and a gap of 85 between the highest and lowest.

    Insert a function from the AutoSum menu

    You don't have to type these functions. Click the cell for the result, then go to Home then Editing and click the arrow next to AutoSum (the Σ button). The menu lists Sum, Average, Count Numbers, Max and Min. Pick one and Excel writes the formula with a range it guesses from the numbers nearby. The same menu is in Formulas then Function Library.

    Check the outlined range before you press Enter. AutoSum guesses from the cells around the result, and it stops at blank cells, so in a list with gaps it can select too little. Drag over the right cells to correct it.

    Common mistakes

    • Typing 0 for a missing value. AVERAGE, MIN and COUNT all treat 0 as a real number. Leave the cell empty instead.
    • Numbers stored as text. If a number sits on the left of its cell or shows a small green triangle, Excel sees text. All five functions skip it, so the results come out wrong. Convert it to a number first.
    • Including the result cell in the range. =SUM(B2:B7) typed in B7 refers to itself and causes a circular reference warning. Keep the summary outside the range.
    • A misspelled function name. =AVERGE(B2:B6) returns #NAME?. Pick the name from the list Excel shows while you type.
    • AVERAGE of no numbers. If a range has no numbers at all, AVERAGE returns #DIV/0!, because it would have to divide by zero.

    Practice

    Practice

    Summarize a real column

    Pick any column of numbers you have in Excel: grades, expenses, sales, steps walked. Under it, add labels and formulas for:

    1. The total, with SUM.
    2. The average, with AVERAGE.
    3. The lowest and highest values, with MIN and MAX.
    4. How many entries there are, with COUNT.
    5. Then delete one value and watch which results change.

    Afterwards, complete the reading tracker below. Click a highlighted cell, type the formula and press Enter.

    Try it0 of 4 done

    1. In B7, add up the pages in B2:B6 with SUM.
    2. In B8, find the average number of pages in B2:B6.
    3. In B9, count how many cells in B2:B6 hold a number.
    4. In B10, subtract the lowest number of pages from the highest.

    Click a dashed cell, type a formula in the bar and press Enter.

    AB
    1ReaderPages read
    2Avery150
    3Ben90
    4Chloe120
    5Dev65
    6Eli
    7Total
    8Average
    9Readers with pages
    10Highest − lowest

    Check your skills

    • Can you total a column with SUM?
    • Can you find the average with AVERAGE, and explain why an empty cell and a 0 give different results?
    • Can you find the smallest and largest values with MIN and MAX?
    • Can you count how many cells hold a number with COUNT?

    Related

    Was this guide helpful? Spot a mistake? Send feedback · admin@arumsoft.com