Learning path · Level 2 · Tutorial 3

Calculate and Check Totals and Averages

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.

  • Level: Beginner
  • Duration: 18 min
  • 7 steps
Start tutorial Back to the path
Calculate and Check Totals and Averages

What you will go through

  1. 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
  2. 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
  3. Calculate the Total with SUM Enter and verify a SUM total for the complete budget amount range. 3 min
  4. 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
  5. 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
  6. 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
  7. Verify Your Total and Average Apply a compact final check to confirm that a total and average use the intended record amounts. 3 min

What you will learn

  • Enter SUM and AVERAGE formulas using the intended cell ranges.
  • Use English function names and the argument separator accepted by the application.
  • Explain how blanks, text, and zero values affect an average.
  • Place summaries outside the record range and avoid including subtotals or totals twice.
  • Verify a total and an average with a small manual calculation and a range check.

Before you start

  • Build a Structured Sales Register
  • Write Budget Formulas with Cell References

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.

Build the practice worksheet

Set up the budget records

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.

Record range

Enter these cells in the Budget worksheet.

The amount range is `B2:B5`.
CellEnter
A1Expense
B1Amount
A2Supplies
B240
A3Printing
B360
A4Delivery
B420
A5Repairs
B50

Summary area

Leave column C empty. Create this separate summary area, but leave its result cells empty for now.

The summary area is outside the record range.
CellEnter
D1Summary
E1Result
D2Total
D3Average
E2Leave empty
E3Leave empty

See the range inside the function

Read the formula structure

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.
  • Parentheses hold the function’s argument or arguments.
  • 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.

One range can be one argument

A spreadsheet diagram highlights cells B2 through B5 as one continuous range and connects them to the range argument in the formula =SUM(B2:B5).

The colon connects the first and last cells of one continuous range argument.

Function formula example

Example formula to inspect; do not enter it in the summary area yet.

excel
=SUM(B2:B5)

Practice identifying the argument

Build the formula structure

Complete the displayed function formula. Blank 1 needs the formula marker; blank 2 needs the one continuous range argument.

excel
SUM()

Match each part to its role

Check the formula parts

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

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.

Separate arguments from a range

Two kinds of formula syntax

Function language and argument separators are separate choices.

  • Function language determines whether your application recognizes the English name SUM.
  • Argument separator separates two distinct arguments inside the parentheses.

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.

Separator versus range

A formula diagram compares a comma and semicolon between separate cell arguments with a colon connecting the endpoints of the continuous range B2:B5.

Comma or semicolon separates arguments; a colon defines one continuous range.

Quick comparison

Use the punctuation that matches what the formula is expressing.

Formula punctuation has different roles.
What you are referring toCorrect notationPunctuation role
Two separate cells`B2,B3` or `B2;B3`Argument separator
One continuous range`B2:B5`Range endpoints

Use English names in your application

Set the function language, then test the separator

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

Stay focused

Do not change operating-system regional settings for this exercise. You only need to recognize the separator already accepted by your spreadsheet application.

Check the language setting

Find the Calc setting

In Calc, which option do you need when English function names are not enabled?

Choose the separator and keep the range

Apply the correct punctuation

Complete both formulas. In blank 1, enter the argument separator accepted by your application. In blank 2, enter the punctuation for a continuous range.

spreadsheet formula
=SUM(B2B3)
=SUM(B2B5)

Step 3 of 7

Calculate the Total with SUM

Enter and verify a SUM total for the complete budget amount range.

Connect the range to the result

One range, one total

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.

See the calculation path

A diagram shows four highlighted amount cells feeding one separate summary result cell.

The blue cell stack represents B2:B5; the green result cell represents E2. SUM uses every amount cell between the two range endpoints.

Calculate the baseline total

Enter the total formula

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.

Formula for the total

Enter this formula in E2.

Spreadsheet formula
=SUM(B2:B5)
Expected output
$120.00

This is the value displayed in `E2` when the cell uses US-dollar formatting with two decimal places.

Verify what SUM included

Check the value and the references

Check two things, not just one:

  • The displayed result tells you that the four baseline amounts add to 120.
  • The reference 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

Two complementary checks

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.

Practice: complete range check

Build and enter the total formula

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.

Spreadsheet formula
=()

Step 4 of 7

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.

Understand the arithmetic mean

From total to average

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?”

Average calculation diagram

A diagram shows the four amounts 40, 60, 20, and 0 adding to 120, then 120 divided by 4 producing 30.

The zero contributes nothing to the total, but it is still one of the four numeric amounts used for the average.

Calculate the worksheet average

Enter the average formula

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.

E3 formula

Formula to enter in E3.

Excel formula
=AVERAGE(B2:B5)
Expected output
$30.00

This is the display in `E3` when US-dollar formatting with two decimal places is applied.

Practice the formula

Complete the formula

Complete the formula for E3, then enter it in your worksheet.

Excel formula
=()

Check your result

Verify the average

In your local Budget worksheet, enter the average formula in E3 and press Enter. Then report:

  1. The formula you entered
  2. The dollar result displayed in E3
  3. The manual calculation written as total divided by the number of numeric amount cells

Use the amount cells only—not the headers or summary labels.

Write at least 25 characters (0/25).

Step 5 of 7

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.

Classify the value in B5

Three different kinds of B5 value

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.

How B5 can change

Three versions of the Budget amount range show B5 as zero, blank, or pending while the formulas continue to reference B2:B5.

The formula range stays B2:B5; only the content of B5 changes.

See the effect on the average

What the formulas count

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.

Results for the same amount range

Compare the three versions while the formulas remain =SUM(B2:B5) and =AVERAGE(B2:B5).

Blank and text are not numeric observations; zero is.
B5 contentTotalNumeric cellsAverage
Numeric `0`$120.004$30.00
Genuinely blank$120.003$40.00
Text `pending`$120.003$40.00

Test each version safely

Run the comparison

Test the versions locally, one at a time:

  1. Confirm that B5 contains numeric 0 and note the summary results.
  2. Delete the content of B5 so the cell is genuinely empty; do not type a space. Note the results.
  3. Enter pending in B5 without quotation marks and note the results.
  4. Restore 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

Meaning matters

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.

Check your predictions

Predict, test, and explain

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 Summaries Out of the Calculation Range

Keep record values and derived summaries separate so totals and averages use only the intended detail amounts.

Separate records from results

Separate roles

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.

Record range and summary area

A spreadsheet layout separates the record range in columns A:B from the summary area in columns D:E with an empty column C between them.

The detail amounts remain in B2:B5; the summary area is separate in columns D:E.

What each area contains

Use the detail amounts as the source for both summaries.

A clear layout supports, but does not replace, a formula range check.
AreaRoleUse in the main formulas
`A1:B5`Record rangeContains headers and records
`B2:B5`Amount rangeSource of the total and average
`D1:E3`Summary areaDisplays derived results

See double-counting happen

Why a summary cell is unsafe in the amount column

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

Unsafe total 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.

A range that includes the total

Formula entered in the unsafe example

Excel or Calc formula
=SUM(B2:B6)
Expected output
240

The result is wrong because `B6` is a derived total, not an additional record amount.

Warning

Do not mix detail and summaries

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.

Practice: identify a safe layout

Choose the safer layout

Which layout best separates the record amounts from the summary results?

Apply the range check

Repair the unsafe calculation

In a worksheet, B2:B5 contains the detail amounts, while B6 contains the baseline total 120. Give a concise check in 2–3 sentences:

  1. State where you would place the summaries.
  2. Explain why =SUM(B2:B6) produces 240.
  3. Write the corrected total formula that uses only the detail amounts.

Write at least 120 characters (0/120).

Step 7 of 7

Verify Your Total and Average

Apply a compact final check to confirm that a total and average use the intended record amounts.

Prepare the final worksheet check

Use a four-part check

Use one short verification routine before trusting a summary:

  1. Check the intended record amounts.
  2. Count the numeric cells.
  3. Inspect the range inside each formula.
  4. Recalculate independently.

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.

Verification flow

Four selected amount cells containing 40, 60, 40, and 0 flow to a separate total and average summary area.

Check the same four detail amounts in both summaries; the zero remains part of the numeric-cell count.

Compare arithmetic with the worksheet

Calculate independently

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:

  • Add the four amounts to check the total.
  • Divide that total by 4 numeric cells to check the average.

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

Expected check

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.

Range check

Inspect both formula ranges

Complete the range argument in both summary formulas.

excel
E2: =SUM()
E3: =AVERAGE()

Report your final check

Final worksheet verification

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).

Finish

Summary

What makes a summary trustworthy

  • Function formulas begin with = and use uppercase English names such as SUM and AVERAGE.
  • A continuous range uses a colon: B2:B5. Both summaries must use the intended detail amount range.
  • Blank and text cells are ignored in these range-based calculations; numeric zero is included in the average's numeric-cell count.
  • A trustworthy summary has a separate summary area, an inspected range, and a manual arithmetic check.
  • With B4 set to 40 and B5 as numeric 0, the checked summaries are $140.00 and $35.00.

Tutorial complete

Congratulations! You completed: Calculate and Check Totals and Averages

You have calculated and checked totals and averages in a local budget worksheet. Save your completed workbook with its clearly labeled summary area.

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate