Choosing and Checking Spreadsheet Arithmetic Functions
Spreadsheet Arithmetic Functions help you turn a list of business values into a useful result in Microsoft Excel. You might need total expenses, an average delivery charge, or the smallest order quantity. Start by deciding what the result should mean, then choose a function and the cells it should use. A correct-looking formula can still answer the wrong business question if you select the wrong range.
Build a function from a range
A function is a named calculation built into Excel. A formula begins with an equals sign; the function name tells Excel what calculation to perform, and parentheses contain its inputs. For example, =SUM(B2:B5) adds the numbers in cells B2 through B5.
A range is a group of cells identified by their references. In B2:B5, the colon means every cell from B2 to B5, including both endpoints. By contrast, =SUM(B2,B5) uses only B2 and B5. These examples use English function names, a decimal point, and commas between separate inputs; some regional settings use semicolons as separators.
Enter the formula in a separate result cell, such as B6. Putting =SUM(B2:B5) into B5 would make the calculation refer to itself, creating a circular reference. Using references also lets the result update when the source values change, provided Excel recalculates the workbook.
Match the function to the question
The business question determines which function belongs in your formula. The same range can produce several valid results with different meanings.
You need | Function example | Meaning of the result |
|---|---|---|
A combined amount | =SUM(B2:B5) | Total of the numeric values |
An arithmetic mean | =AVERAGE(B2:B5) | Sum divided by the number of numeric values |
The smallest value | =MIN(B2:B5) | Lowest numeric value |
The largest value | =MAX(B2:B5) | Highest numeric value |
A product | =PRODUCT(C2,C3) | Multiplication of the two numeric inputs |
A rounded value | =ROUND(D2,2) | Value rounded to two decimal places |
For at least one numeric observation, the governing relationship for the arithmetic mean is:
Suppose B2:B4 contains three daily expenses: CAD 24, CAD 0, and CAD 36. =SUM(B2:B4) returns CAD 60, whereas =AVERAGE(B2:B4) returns CAD 20. The minimum is CAD 0 and the maximum is CAD 36. Each result describes the same inputs differently.
Multiplication answers another kind of question. If C2 contains 3 items and C3 contains a price of CAD 8 per item, =PRODUCT(C2,C3) returns a cost of CAD 24. Adding quantity and price would mix unlike quantities and would not calculate the cost.
Check inputs and rounding
When SUM, AVERAGE, MIN, MAX, and PRODUCT read cell references, they ignore empty cells and text entries. A number stored as text can therefore be left out unexpectedly. A numeric zero is different: AVERAGE includes it in the count. If the zero in the expense example were replaced with an empty cell, the average would become CAD 30 because only two numeric observations remain.
Keep headings and existing totals outside your detail range. Including a subtotal with the values used to calculate it counts those amounts again in SUM and can distort AVERAGE by treating the subtotal as another observation.
Finally, distinguish formatting from rounding. Displaying two decimal places changes how a value appears; ROUND changes the value returned by the formula. If D2 contains 12.346, =ROUND(D2,2) returns 12.35. Keep sufficient precision during calculations and round the requested final result.
What to remember
- Choose the function by the meaning of the business question.
- Check range endpoints, units, and whether totals are included.
- Treat zero, empty cells, and numbers stored as text differently.
- Use ROUND when the calculated value itself needs rounding.
Example: Summarizing Dispatch Charges
A student-run printing service records four completed dispatches in Excel. All charges are numeric, measured in CAD, and verified. The second dispatch received a fee waiver, so its charge is genuinely zero.
Row | Column A: Dispatch | Column B: Charge in CAD |
|---|---|---|
1 | Dispatch | Charge in CAD |
2 | D101 | 18.50 |
3 | D102 | 0.00 |
4 | D103 | 27.25 |
5 | D104 | 14.75 |
Use English Excel function names and commas between separate function inputs. Enter summary formulas outside B2:B5.
a) Write a formula for the total dispatch charge and calculate the result.
The service needs the combined charge for all four dispatches. SUM adds the numeric values in the inclusive range B2:B5.
Enter =SUM(B2:B5) in D2.
The total dispatch charge is CAD 60.50. The waived charge contributes zero to the total, but its row remains part of the selected range.
b) Write a formula for the mean charge per dispatch, rounded to two decimal places. Calculate the result without rounding intermediate values.
All four dispatches have known numeric charges. The waived charge is a numeric zero, so AVERAGE includes it when counting observations.
First calculate the unrounded mean using =AVERAGE(B2:B5):
Then round that result to two decimal places. Enter =ROUND(AVERAGE(B2:B5),2) in D3. Excel first calculates the mean inside the parentheses and then rounds the returned value.
The mean charge is CAD 15.13 per dispatch. Dividing by only the three positive charges would exclude a completed dispatch and answer a different question.
c) Write formulas for the smallest and largest charges, and calculate both results.
Use MIN and MAX on the same four verified charges. These functions select the lowest and highest numeric values; they do not add or average them.
Enter =MIN(B2:B5) in D4:
Enter =MAX(B2:B5) in D5:
The smallest charge is CAD 0.00 because the fee waiver is a valid numeric observation. The largest charge is CAD 27.25. The unrounded mean, CAD 15.125, lies between these endpoints, as expected.
A sales analyst wants the mean of twelve monthly sales figures stored in cells C2:C13 to appear in cell C14. Put the steps for entering the function and checking its result in the order they should be carried out.
1.
Type the closing parenthesis and press Enter.
2.
Drag across C2:C13 to enter the range of monthly sales.
3.
Click cell C14, where the result should appear.
4.
Compare the result with a rough estimate: it should lie between the smallest and largest monthly figure.
5.
Type AVERAGE followed by an opening parenthesis.
6.
Type an equals sign so the entry is treated as a formula.
A courier tracks delivery charges in an Excel worksheet. The zero is a confirmed fee waiver, and the empty cell represents a delivery whose charge has not yet been reported.
Cell | Content |
|---|---|
B2 | Numeric 48 |
B3 | Numeric 0 |
B4 | Empty |
B5 | Numeric 72 |
All charges are in CAD. What does =AVERAGE(B2:B5) return, and how does it treat the zero and empty cell?