Bird
Raised Fist0
Excelspreadsheet~5 mins

SUM function in Excel - Step-by-Step Guide

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Introduction
The SUM function adds numbers together quickly. It helps you total values in a list or range without adding each number by hand.
When you want to add all sales amounts in a column to find the total sales.
When you need to calculate the total expenses from a list of costs.
When you want to add up scores from multiple tests to get a final score.
When you want to sum hours worked each day to find total hours for the week.
When you want to add values from different cells without typing each number.
Steps
Step 1: Click
- the cell where you want the total to appear
The cell is selected and ready for input
Step 2: Type
- the formula bar
The formula starts appearing in the selected cell
💡 Start by typing =SUM(
Step 3: Select
- the range of cells you want to add (for example, drag from A1 to A5)
The selected cells are highlighted and their addresses appear in the formula
Step 4: Type
- the formula bar
The formula looks like =SUM(A1:A5)
💡 Make sure to close the formula with a closing parenthesis )
Step 5: Press
- Enter key
The cell shows the total sum of the selected numbers
Before vs After
Before
Cells A1 to A5 contain numbers: 2, 4, 6, 8, 10. Cell A6 is empty.
After
Cell A6 shows 30, which is the sum of numbers in A1 to A5.
Settings Reference
Formula input
📍 Formula bar
To enter the SUM formula and specify which cells to add
Default: Manual typing or selecting cells
Cell selection
📍 Worksheet grid
To choose which numbers to include in the sum
Default: Range of cells
Common Mistakes
Typing =SUM(A1-A5) instead of =SUM(A1:A5)
The dash (-) subtracts instead of selecting a range, causing an error or wrong result.
Use a colon (:) to select a range like A1:A5 inside the SUM function.
Forgetting to close the parenthesis in =SUM(A1:A5
Excel shows an error because the formula is incomplete.
Always close the formula with a closing parenthesis )
Including text cells inside the SUM range
Text cells are ignored, but if they look like numbers stored as text, they won't be added.
Make sure cells contain numbers, not text, or convert text to numbers before summing.
Summary
The SUM function adds numbers in selected cells quickly.
Use a colon (:) to select a range of cells inside SUM.
Always close the formula with a parenthesis to avoid errors.

Practice

(1/5)
1. What does the SUM function do in Excel?
easy
A. Adds numbers or ranges to find a total
B. Subtracts numbers in a range
C. Finds the average of numbers
D. Counts the number of cells with numbers

Solution

  1. Step 1: Understand the purpose of SUM

    The SUM function is designed to add numbers or ranges of cells.
  2. Step 2: Compare with other functions

    Unlike subtraction, average, or count, SUM specifically adds values.
  3. Final Answer:

    Adds numbers or ranges to find a total -> Option A
  4. Quick Check:

    SUM adds values [OK]
Hint: SUM always adds numbers or ranges [OK]
Common Mistakes:
  • Confusing SUM with AVERAGE
  • Thinking SUM counts cells
  • Using SUM to subtract
2. Which of the following is the correct syntax to sum cells A1 to A5?
easy
A. =SUM(A1:A5)
B. =SUM(A1-A5)
C. =SUM(A1;A5)
D. =SUM(A1+A5)

Solution

  1. Step 1: Identify correct range syntax

    Excel uses colon (:) to specify a range from A1 to A5.
  2. Step 2: Check each option

    =SUM(A1:A5) uses =SUM(A1:A5), which is correct. Others use invalid separators or operators.
  3. Final Answer:

    =SUM(A1:A5) -> Option A
  4. Quick Check:

    Range uses colon : [OK]
Hint: Use colon : to specify ranges in SUM [OK]
Common Mistakes:
  • Using minus instead of colon
  • Using semicolon instead of colon
  • Adding cells inside SUM
3. Given the values in cells: A1=3, A2=7, A3=2, what is the result of =SUM(A1, A2, A3)?
medium
A. 0
B. 7
C. 3
D. 12

Solution

  1. Step 1: Identify values in cells

    A1=3, A2=7, A3=2 are the numbers to add.
  2. Step 2: Calculate the sum

    3 + 7 + 2 = 12
  3. Final Answer:

    12 -> Option D
  4. Quick Check:

    3+7+2=12 [OK]
Hint: Add all cell values inside SUM separated by commas [OK]
Common Mistakes:
  • Adding only first two cells
  • Confusing SUM with average
  • Ignoring some cell values
4. The formula =SUM(A1:A3 B1:B3) gives an error. What is the fix?
medium
A. Replace colon with semicolon: =SUM(A1;A3 B1;B3)
B. Add a comma between ranges: =SUM(A1:A3, B1:B3)
C. Remove one range: =SUM(A1:A3)
D. Use plus sign between ranges: =SUM(A1:A3+B1:B3)

Solution

  1. Step 1: Identify error cause

    Ranges must be separated by commas inside SUM; missing comma causes error.
  2. Step 2: Correct the formula

    Insert comma between ranges: =SUM(A1:A3, B1:B3) fixes the syntax.
  3. Final Answer:

    Add a comma between ranges: =SUM(A1:A3, B1:B3) -> Option B
  4. Quick Check:

    Separate ranges with commas [OK]
Hint: Separate multiple ranges with commas in SUM [OK]
Common Mistakes:
  • Missing commas between ranges
  • Using spaces instead of commas
  • Using plus sign inside SUM
5. You want to sum only the positive numbers in cells A1 to A5, where some cells have negative values. Which formula correctly sums only positive numbers?
hard
A. =SUM(A1:A5)
B. =SUMIF(A1:A5, "<0")
C. =SUMIF(A1:A5, ">0")
D. =SUM(A1:A5>0)

Solution

  1. Step 1: Understand the requirement

    We want to add only positive numbers, ignoring negatives.
  2. Step 2: Choose correct function

    SUMIF with condition ">0" sums only cells greater than zero.
  3. Step 3: Check other options

    =SUM(A1:A5) sums all numbers, including negatives; C is invalid syntax; B sums negatives only.
  4. Final Answer:

    =SUMIF(A1:A5, ">0") -> Option C
  5. Quick Check:

    SUMIF with condition ">0" sums positives [OK]
Hint: Use SUMIF with ">0" to sum positives only [OK]
Common Mistakes:
  • Using SUM to add all values
  • Wrong condition in SUMIF
  • Trying invalid syntax inside SUM