To add cells together in Excel, use the SUM function or the plus operator. For example, =SUM(A1:A5) adds a range, while =A1+B1 adds individual cells. This guide walks you through both methods, plus common pitfalls and fixes.
What You'll Need
- Microsoft Excel (any recent version for Windows, Mac, or Excel for the web).
- A spreadsheet with numbers in cells (or create a new one).
- Basic familiarity with clicking cells and typing formulas.
Step-by-Step
- Open your spreadsheet and locate the cells you want to add. They can be in the same column, row, or scattered across the sheet.
- Click an empty cell where you want the result to appear. This is your formula cell.
- Start the formula by typing an equals sign (
=). All Excel formulas begin with=. - Use the SUM function for a range: Type
SUM(, then click and drag to select the cells (e.g., A1 through A5), or type the range likeA1:A5. Close the parenthesis and press Enter. Example:=SUM(A1:A5). - Use the plus operator for individual cells: Type
=A1+B1+C1(replace with your actual cell references). Press Enter. This adds each cell's value. - Add non-adjacent cells with SUM: Type
=SUM(A1, C1, E1)to add specific cells separated by commas. Press Enter. - Check the result. The formula cell shows the total. Click it to see the formula in the formula bar.
- Copy the formula down or across if needed. Drag the fill handle (small square at the bottom-right of the cell) to apply the same logic to other rows or columns. Note: relative references adjust automatically; use absolute references (
$A$1) if you need a fixed cell.
Menu labels and exact wording can differ slightly by Excel version, device, or region. The steps above apply to desktop and web versions; mobile apps have similar but touch-optimized interfaces.
Common Mistakes
- Forgetting the equals sign: Without
=, Excel treats your entry as text, not a formula. - Incorrect range syntax: Use a colon (
:) for ranges (A1:A5) and commas for separate cells (A1, A5). Mixing them up causes errors. - Adding cells with text: If a cell contains text (even a number stored as text), SUM ignores it, but the plus operator may return
#VALUE!. Ensure cells are formatted as numbers. - Circular references: If your formula refers to its own cell (directly or indirectly), Excel shows a warning and may not calculate correctly.
- Hidden rows or filtered data: SUM includes hidden rows; SUBTOTAL can exclude them if needed.
- Using spaces in cell references: Excel ignores spaces, but they can make formulas harder to read. Use commas or colons correctly.
Tips
- Use AutoSum for quick totals: Select the cell below a column of numbers and click AutoSum (on the Home tab, usually in the Editing group). Excel guesses the range; verify it before pressing Enter.
- Name your ranges for clarity: Select cells, type a name in the Name Box (left of the formula bar), and use that name in formulas (e.g.,
=SUM(Sales)). - Use the status bar: Select cells and look at the bottom of the Excel window—it shows the sum, average, and count without writing a formula.
- Convert text to numbers: If numbers are stored as text, use Text to Columns or multiply by 1 to convert.
- Press F4 to toggle absolute references when editing a formula (Windows; on Mac, use Command+T).
Troubleshooting
If your formula returns an error or unexpected result, try these steps:
- #VALUE! error: One or more cells contain text. Check cell formatting and remove non-numeric characters.
- #NAME? error: The function name is misspelled (e.g.,
SUMMinstead ofSUM). Correct it. - Formula shows as text: The cell may be formatted as Text. Change format to General, then re-enter the formula.
- Result is 0 or wrong: Verify the range includes the intended cells. Use the Evaluate Formula tool (Formulas tab > Evaluate Formula) to step through.
- Circular reference warning: Check if the formula refers to its own cell. Move the formula to a different cell.
- AutoSum picks wrong range: Manually adjust the range by dragging the selection or typing the correct references.
If that did not work, ensure calculation is set to Automatic (Formulas > Calculation Options > Automatic). As a last resort, restart Excel or check for updates.
Frequently Asked Questions
Can I add cells from different sheets?
Yes. Use a formula like =Sheet1!A1+Sheet2!B2 or =SUM(Sheet1!A1, Sheet2!B2). Sheet names with spaces need single quotes: ='Sheet 1'!A1.
How do I add a column of numbers quickly?
Click the cell below the column and press AutoSum (Alt+= on Windows, Command+Shift+T on Mac). Excel selects the contiguous range above; press Enter to confirm.
Why does SUM ignore some cells?
SUM ignores text, logical values, and empty cells in ranges. If a cell contains a number stored as text, it won't be included. Convert it to a number first.
Can I add cells without using a formula?
Yes, select the cells and check the status bar at the bottom of the Excel window—it displays the sum. For a permanent result, use a formula.
What is the difference between SUM and the plus operator?
SUM handles ranges and ignores text; the plus operator adds individual cells and returns errors if any cell contains text. SUM is generally safer for ranges.
How do I add only visible cells after filtering?
Use =SUBTOTAL(109, range) to sum only visible cells. The 109 argument excludes manually hidden rows; 9 includes them.