Excel Formulas for SUM, AVERAGE, MIN, and MAX
Question details
The user wants to calculate the total, average, smallest value, and largest value in an Excel range.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Summarizing numeric values in a worksheet using formulas.
- Observed behavior
- The user needs formulas that return the sum, arithmetic mean, minimum, and maximum of the selected values.
Identify the range containing your numbers and choose empty cells outside that range for the results. The examples below use A2:A100; replace it with your actual range.
Calculate summary values with Excel functions
Use four formulas to summarize the numbers in a worksheet range.
Select an empty cell, enter =SUM(A2:A100), and press Enter.
Select another empty cell, enter =AVERAGE(A2:A100), and press Enter.
Select an empty cell, enter =MIN(A2:A100), and press Enter.
Select an empty cell, enter =MAX(A2:A100), and press Enter.

Calculate totals and ranges in WPS Spreadsheets
Open your workbook in WPS Spreadsheets and use the same SUM, AVERAGE, MIN, and MAX formulas to summarize your data.
- 1. Open your workbook: In WPS Office, open WPS Spreadsheets and select Open to choose your workbook.
- 2. Enter the total and average: In two empty cells, enter =SUM(A2:A100) and =AVERAGE(A2:A100), pressing Enter after each formula.
- 3. Enter the minimum and maximum: In two more empty cells, enter =MIN(A2:A100) and =MAX(A2:A100), pressing Enter after each formula.
- 4. Adjust the range: Select each formula cell and edit A2:A100 in the formula bar if your data is in a different range.

Frequently Asked Questions
Do these Excel functions include blank cells?
SUM, AVERAGE, MIN, and MAX ignore blank cells in a referenced range. A cell containing the number zero is included.
How do I use these formulas for a different range?
Replace A2:A100 with your range. For example, enter =SUM(B2:B20) in an empty cell to total the numbers in B2 through B20.
Why does AVERAGE show #DIV/0!?
AVERAGE returns #DIV/0! when the referenced range has no numeric values. Check the range and make sure it contains numbers.
Can I use these formulas in WPS Spreadsheets?
Yes. Open the workbook in WPS Spreadsheets, select an empty cell, and enter the same formulas, such as =MAX(A2:A100).




