
Step 1 of 7
Read a Function Formula
Set up the supplied budget worksheet and read the structure of a function formula with a continuous range argument.
Learning path · Level 2 · Tutorial 3
Add trustworthy totals and averages to a small budget or sales worksheet in Excel or Calc. Use SUM and AVERAGE with English function names, adapt argument separators to your application settings, and check that each summary includes the intended numeric cells without counting other summaries.
Read a Function Formula
Set up the supplied budget worksheet and read the structure of a function formula with a continuous range argument. 3 min
Match the Syntax to Your Application
Use English function names and distinguish application-specific argument separators from the colon used in a continuous cell range. 2 min
Calculate the Total with SUM
Enter and verify a SUM total for the complete budget amount range. 3 min
Calculate the Average with AVERAGE
Enter an AVERAGE formula in the summary area and verify that its result comes from the total divided by four numeric amount cells. 3 min
Check Blanks, Text, and Zero
Compare numeric zero, a genuine blank, and text in the same amount range so you can see why totals and averages may respond differently. 3 min
Keep Summaries Out of the Calculation Range
Keep record values and derived summaries separate so totals and averages use only the intended detail amounts. 3 min
Verify Your Total and Average
Apply a compact final check to confirm that a total and average use the intended record amounts. 3 min

Step 1 of 7
Set up the supplied budget worksheet and read the structure of a function formula with a continuous range argument.
Create a new local workbook named BudgetChecks.xlsx in Excel or BudgetChecks.ods in Calc. Rename the worksheet Budget.
Enter the four expense records shown below. The record range is A1:B5, including its header. Format B2:B5 as US dollars with two decimal places.
This worksheet is your practice context for the rest of the tutorial.
Enter these cells in the Budget worksheet.
| Cell | Enter |
|---|---|
| A1 | Expense |
| B1 | Amount |
| A2 | Supplies |
| B2 | 40 |
| A3 | Printing |
| B3 | 60 |
| A4 | Delivery |
| B4 | 20 |
| A5 | Repairs |
| B5 | 0 |
Leave column C empty. Create this separate summary area, but leave its result cells empty for now.
| Cell | Enter |
|---|---|
| D1 | Summary |
| E1 | Result |
| D2 | Total |
| D3 | Average |
| E2 | Leave empty |
| E3 | Leave empty |
A function is a named calculation supplied with inputs called arguments. A function formula has four useful parts:
= tells the worksheet that this is a formula.SUM is the function name in this example.B2:B5 is one argument: a continuous range from the first cell to the last cell.Read =SUM(B2:B5) as one function receiving one range argument. You will calculate its result in a later step.

The colon connects the first and last cells of one continuous range argument.
Example formula to inspect; do not enter it in the summary area yet.
=SUM(B2:B5)Complete the displayed function formula. Blank 1 needs the formula marker; blank 2 needs the one continuous range argument.
SUM()In your local worksheet, confirm that the records occupy A1:B5 and the summary area is in columns D:E. Then match each fragment of =SUM(B2:B5) to its role.
Tap an item and then its matching pair.

Step 2 of 7
Use English function names and distinguish application-specific argument separators from the colon used in a continuous cell range.
Function language and argument separators are separate choices.
SUM.For two separate cells, either =SUM(B2,B3) or =SUM(B2;B3) may be correct, depending on your application settings. They request the same calculation.
A colon has a different job: B2:B5 is one continuous range from the first cell to the last cell. Do not replace that colon with a comma or semicolon. A single-range formula such as =SUM(B2:B5) needs no argument separator.

Comma or semicolon separates arguments; a colon defines one continuous range.
Use the punctuation that matches what the formula is expressing.
| What you are referring to | Correct notation | Punctuation role |
|---|---|---|
| Two separate cells | `B2,B3` or `B2;B3` | Argument separator |
| One continuous range | `B2:B5` | Range endpoints |
Use uppercase English function names in this tutorial. In Excel, the examples can be entered unchanged only when your installation supports English formula names.
In Calc, enable English function names before entering the examples: Tools > Options > LibreOffice Calc > Formula > Use English function names. On macOS, open the corresponding settings through Preferences.
This setting controls the function name, not the argument separator. After English names are enabled, enter a short two-argument test using the comma form. If your application rejects it, use the semicolon form instead. Keep the colon unchanged in every continuous range, including B2:B5.
Tip
Do not change operating-system regional settings for this exercise. You only need to recognize the separator already accepted by your spreadsheet application.
In Calc, which option do you need when English function names are not enabled?
Complete both formulas. In blank 1, enter the argument separator accepted by your application. In blank 2, enter the punctuation for a continuous range.
=SUM(B2B3)
=SUM(B2B5)
Step 3 of 7
Enter and verify a SUM total for the complete budget amount range.
SUM adds the numeric values in the range inside its parentheses. For this budget, the amount range is B2:B5: the four record amounts, from Supplies through Repairs.
The total belongs in the separate summary area, in E2 beside the Total label in D2. Keeping the result separate makes the worksheet easier to read and check.

The blue cell stack represents B2:B5; the green result cell represents E2. SUM uses every amount cell between the two range endpoints.
Open your local workbook—BudgetChecks.xlsx in Excel or BudgetChecks.ods in Calc—and go to the Budget worksheet. Select E2, then enter the formula below and press Enter.
The colon in B2:B5 identifies one continuous range. This single-range formula does not need a comma or semicolon.
Enter this formula in E2.
=SUM(B2:B5)$120.00
This is the value displayed in `E2` when the cell uses US-dollar formatting with two decimal places.
Check two things, not just one:
120.B2:B5 tells you which cells were included.A result can look reasonable while a formula omits a record. Inspecting the first and last cell in the range confirms that all four amount records contribute to the total.
Example
Manual check: 40 + 60 + 20 + 0 = 120.
With US-dollar formatting, the total in E2 is displayed as $120.00. The manual addition checks the value; B2:B5 checks the intended record range.
On your local Budget worksheet, select E2. Complete the formula with the function for a total and the continuous range containing all four amount records. Then enter it in the worksheet.
=()
Step 4 of 7
Enter an AVERAGE formula in the summary area and verify that its result comes from the total divided by four numeric amount cells.
An average is the arithmetic mean: add the numeric amounts, then divide by the number of numeric amounts.
In the amount range B2:B5, the values are 40, 60, 20, and 0. Their total is 120. Because all four cells contain numeric amounts—including the recorded zero—the average is 120 ÷ 4, which is 30.
A total answers “How much altogether?” An average answers “How much per numeric observation?”

The zero contributes nothing to the total, but it is still one of the four numeric amounts used for the average.
In BudgetChecks.xlsx or BudgetChecks.ods, keep the summary area separate from the record range. Select E3, beside the Average label, and enter the formula below.
It uses the same detail amount range as the total in E2, but AVERAGE calculates the amount per numeric observation. Press Enter. With US-dollar formatting, the result in E3 is $30.00.
Formula to enter in E3.
=AVERAGE(B2:B5)$30.00
This is the display in `E3` when US-dollar formatting with two decimal places is applied.
Complete the formula for E3, then enter it in your worksheet.
=()In your local Budget worksheet, enter the average formula in E3 and press Enter. Then report:
E3Use the amount cells only—not the headers or summary labels.
Write at least 25 characters (0/25).

Step 5 of 7
Compare numeric zero, a genuine blank, and text in the same amount range so you can see why totals and averages may respond differently.
Open your local workbook, BudgetChecks.xlsx in Excel or BudgetChecks.ods in Calc, and select the Budget worksheet. Keep the existing summary formulas in E2 and E3, both referring to B2:B5.
For this check, change only B5. A genuinely empty cell, text such as pending, and numeric 0 may look similarly “non-positive,” but formulas do not treat them the same way.
A zero is a numeric amount. It adds zero to a total and is still counted as one numeric cell by an average.

The formula range stays B2:B5; only the content of B5 changes.
When B5 is blank or contains the unquoted text pending, both functions ignore that cell within the referenced range. The remaining numeric amounts are 40, 60, and 20.
When B5 contains numeric 0, SUM still adds zero, but AVERAGE includes zero in its numeric-cell count. That difference affects the average even though the total is unchanged.
Compare the three versions while the formulas remain =SUM(B2:B5) and =AVERAGE(B2:B5).
| B5 content | Total | Numeric cells | Average |
|---|---|---|---|
| Numeric `0` | $120.00 | 4 | $30.00 |
| Genuinely blank | $120.00 | 3 | $40.00 |
| Text `pending` | $120.00 | 3 | $40.00 |
Test the versions locally, one at a time:
B5 contains numeric 0 and note the summary results.B5 so the cell is genuinely empty; do not type a space. Note the results.pending in B5 without quotation marks and note the results.B5 to numeric 0 before you continue.The displayed currency format does not make a blank or text cell numeric. The formula bar or cell content tells you what was actually entered.
Warning
A confirmed zero means an amount is known to be zero. A blank or pending can mean the amount is unknown or has not been entered. For an average, choosing between those meanings changes how many numeric observations are represented.
Text—including digits stored as text—is not a numeric observation for these range-based formulas.
Perform one final check in your local worksheet. Before you edit B5, predict the total, numeric-cell count, and average for each version: numeric 0, a genuinely blank cell, and text pending. Then test all three versions using the existing formulas, compare your predictions with what the worksheet displays, and restore B5 to numeric 0.
In your response, list the predicted and observed result for each version, then explain why the total can stay unchanged while the average changes.
Write at least 140 characters (0/140).

Step 6 of 7
Keep record values and derived summaries separate so totals and averages use only the intended detail amounts.
Record values and summary results have different jobs. The record range A1:B5 holds the expense records; the amount range B2:B5 holds the four detail amounts. A total or average is a result derived from those amounts, not another record.
Keep the summary area in columns D:E, with column C empty. This makes the worksheet easier to read and helps prevent a summary cell from being mistaken for a detail amount. Still inspect each formula range: location alone does not guarantee that a formula references the right cells.

The detail amounts remain in B2:B5; the summary area is separate in columns D:E.
Use the detail amounts as the source for both summaries.
| Area | Role | Use in the main formulas |
|---|---|---|
| `A1:B5` | Record range | Contains headers and records |
| `B2:B5` | Amount range | Source of the total and average |
| `D1:E3` | Summary area | Displays derived results |
A total or subtotal is already calculated from record amounts. If you include that result together with its source amounts, those amounts are counted twice.
Consider a separate unsafe example: B2:B5 contains 40, 60, 20, and 0, and B6 contains the baseline total 120. The range B2:B6 now contains the four detail amounts plus a result derived from them.
Example
In this separate unsafe example, B6 is not a new expense. It repeats the combined value of B2:B5, so including it in a new SUM doubles the baseline total.
Formula entered in the unsafe example
=SUM(B2:B6)240
The result is wrong because `B6` is a derived total, not an additional record amount.
Warning
The same problem affects an average. If an AVERAGE range includes a total or subtotal, that derived result is treated as one more numeric observation. The result no longer describes the average record amount.
Build both summaries from the detail amounts only—not from a mixture of detail amounts and summary results.
Which layout best separates the record amounts from the summary results?
In a worksheet, B2:B5 contains the detail amounts, while B6 contains the baseline total 120. Give a concise check in 2–3 sentences:
=SUM(B2:B6) produces 240.Write at least 120 characters (0/120).

Step 7 of 7
Apply a compact final check to confirm that a total and average use the intended record amounts.
Use one short verification routine before trusting a summary:
For the final check, work in your local BudgetChecks.xlsx or BudgetChecks.ods workbook on the Budget worksheet. Change B4 from 20 to 40, and confirm that B5 contains numeric 0, not a blank or text.
The amount range still contains 4 numeric cells. A zero contributes nothing to the total, but it remains a numeric observation for the average.

Check the same four detail amounts in both summaries; the zero remains part of the numeric-cell count.
After changing B4, inspect the formulas in the summary area. E2 and E3 should both use the detail amount range, B2:B5.
Then perform the check without relying on the displayed results:
Your independent arithmetic should agree with the worksheet. Format the two summary results as US dollar currency with two decimal places, then save the workbook.
Example
Manual check after the change:
40 + 60 + 40 + 0 = 140
140 ÷ 4 = 35
The worksheet should therefore display $140.00 for the total and $35.00 for the average. A result that looks reasonable is not enough: checking the range matters because leaving out the zero would not change the total, but it would make the average wrong.
Complete the range argument in both summary formulas.
E2: =SUM()
E3: =AVERAGE()On your own Budget worksheet, complete the change and verification. In a brief report, state the total and average you observed, the range you inspected in both formulas, the numeric-cell count, and the manual arithmetic you used to confirm the results. Also state why the value in B5 matters for the average.
Write at least 100 characters (0/100).
Summary
= and use uppercase English names such as SUM and AVERAGE.B2:B5. Both summaries must use the intended detail amount range.B4 set to 40 and B5 as numeric 0, the checked summaries are $140.00 and $35.00.Congratulations! You completed: Calculate and Check Totals and Averages
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below:.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks