Topics in this sectionFormula and Functions12 topics
Statistical Functions in MS Excel
When you work with numbers in a spreadsheet, you often need to calculate totals, find averages, or identify the highest and lowest values. Instead of doing these calculations by hand, MS Excel provides ready-made tools called functions that do the work for you.
A function is a built-in Excel operation that returns a value based on a range of cells you provide. Functions differ from regular formulas because you only supply the cell addresses—you do not need to write the arithmetic operators (+, -, ×, ÷) yourself.
When you write a function, remember these rules:
- Begin with an equal sign =
- Write the function name in capital letters
- Put the cell addresses (called arguments) inside parentheses
- Use commas to separate multiple arguments
For example, =SUM(A1:A10) adds up all the numbers from cell A1 through A10.
Statistical functions belong to a category of tools that help you perform calculations on a list of values. They are especially useful when analyzing data such as test scores, sales figures, or survey results.
There are five basic statistical functions you must know: SUM, AVERAGE, COUNT, MAX, and MIN.
SUM — Adding Values Together
The SUM function adds all the numbers in a selected range. It is one of the most frequently used functions in Excel.
Syntax: =SUM(range)
Example: Imagine you record the daily sales of sorghum (a staple grain in South Sudan) at a market in Juba over five days:
| Cell | A | B | C | D | E |
|---|---|---|---|---|---|
| 1 | Day 1 | Day 2 | Day 3 | Day 4 | Day 5 |
| 2 | 500 | 750 | 600 | 800 | 550 |
To find the total sales for the week, you would write:
=SUM(A2:E2)
The result is 3,200 SSP (South Sudanese Pounds).
You can also add non-adjacent cells by writing: =SUM(A2, C2, E2) which adds only Day 1, Day 3, and Day 5.
AVERAGE — Finding the Mean
The AVERAGE function calculates the arithmetic mean—the sum of all values divided by how many values there are.
Syntax: =AVERAGE(range)
Example: Using the same sales data above, to find the average daily sales:
=AVERAGE(A2:E2)
The calculation is (500 + 750 + 600 + 800 + 550) ÷ 5 = 640 SSP per day.
COUNT — Counting Numbers Only
The COUNT function tells you how many cells in a range contain numbers. It ignores text or empty cells.
Syntax: =COUNT(range)
Example: If you want to know how many days of sales data you have recorded:
=COUNT(A2:E2)
The result is 5 because all five cells contain numbers.
MAX — Finding the Highest Value
The MAX function returns the largest number in a selected range.
Syntax: =MAX(range)
Example: To find the highest daily sales in the week:
=MAX(A2:E2)
The result is 800 SSP (Day 4).
MIN — Finding the Lowest Value
The MIN function returns the smallest number in a selected range.
Syntax: =MIN(range)
Example: To find the lowest daily sales in the week:
=MIN(A2:E2)
The result is 500 SSP (Day 1).
| Function | What It Does | Example |
|---|---|---|
| SUM | Adds all values | =SUM(A1:A10) |
| AVERAGE | Calculates the mean | =AVERAGE(A1:A10) |
| COUNT | Counts cells with numbers | =COUNT(A1:A10) |
| MAX | Shows the largest value | =MAX(A1:A10) |
| MIN | Shows the smallest value | =MIN(A1:A10) |
Try this using a new spreadsheet:
- In row 1, type these column headings in cells A1 through E1: Math, English, Science, Social, Art
- In row 2, enter your hypothetical test scores: 85, 72, 91, 68, 79
- Now write formulas to find:
- Total score:
=SUM(A2:E2) - Average score:
=AVERAGE(A2:E2) - Number of subjects:
=COUNT(A2:E2) - Highest score:
=MAX(A2:E2) - Lowest score:
=MIN(A2:E2)
- Total score:
After writing each formula, press Enter to see the result.
Statistical functions are used daily in South Sudanese businesses and schools. A shop owner in Wau managing inventory can use SUM to calculate total stock value, COUNT to verify how many items are in stock, and AVERAGE to track monthly sales trends. A teacher at a county secondary school can use MAX and MIN to quickly identify the highest and lowest scoring students across examinations, making it easier to recognize top performers and support those who need extra help.
Question
Which of the following best describes a statistical function in MS Excel?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet