Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Do Addition in Excel

· 9 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can add numbers in Excel using the plus sign operator (+), the SUM function, or the AutoSum button. The quickest way for a single column or row is clicking the AutoSum button, which automatically detects the numbers and inserts the SUM formula for you.

What You'll Need

  • A computer with Microsoft Excel installed (2010, 2013, 2016, 2019, or Excel for Microsoft 365).
  • A spreadsheet with at least one column or row of numbers to add.
  • A cell ready to display the result.

Step-by-Step

  1. Select the cell where you want the result to appear. This is the empty cell immediately below the numbers you want to sum (for a column) or to the right of the numbers (for a row). For example, if your numbers are in cells A1 through A5, click on cell A6.
  2. Click the AutoSum button. You can find this button in the Editing group on the Home tab of the ribbon. The icon looks like the Greek letter Sigma (Σ).
  3. Verify the formula. Excel will highlight the cells it thinks you want to add. You will see a small formula bar at the top of the window that now reads =SUM(A1:A5). This formula tells Excel to add the contents of cells A1 through A5. If the highlighted range is incorrect, you can click and drag to select the correct cells, or simply type the cell references yourself.
  4. Press Enter. Once the correct range is selected, press the Enter key on your keyboard. The total will appear in the cell you selected in step 1.

Using the Plus Sign Operator

  1. Click the cell where you want the total. For instance, click cell C1.
  2. Type an equals sign (=). This is the signal to Excel that you are about to enter a formula, not just text.
  3. Type the first number or cell reference. For example, type A1.
  4. Type the plus sign (+). Ensure you type the plus sign from your keyboard, not a hyphen.
  5. Type the next number or cell reference. For example, type +B1.
  6. Repeat for all numbers. Continue with +C1, +D1, and so on.
  7. Press Enter. The result of the calculation will be displayed in cell C1.

Using the SUM Function

  1. Click the cell where you want the result.
  2. Type =SUM( to start the function. The SUM function is the standard way to add a range of cells.
  3. Select the cells you want to add. Click the first cell in the range, hold the Shift key, and click the last cell. Alternatively, you can click and drag your mouse over the range. The function will look like =SUM(A1:A5) when you are done.
  4. Type a closing parenthesis () and press Enter.

Common Mistakes

Adding numbers in Excel is straightforward, but small errors can lead to incorrect totals. Being aware of these common pitfalls will save you time and ensure your data is accurate.

1. Using Text Instead of Numbers

A very common reason for a SUM formula to return zero or an error is that the data in the cells isn’t actually numbers. Excel treats numbers differently from text. If a cell contains a number with a leading apostrophe (e.g., '100) or if the number is formatted as text, Excel will not add it.

How to fix it: Select the column of numbers, go to the Home tab, find the Number group, and click the dropdown arrow next to the number format. Choose Number. If the cells still won't sum, you can use the Text to Columns feature to convert them, or use the VALUE function to convert the text to a number.

2. Forgetting the Equals Sign

Excel will not perform a calculation unless you tell it to. If you type A1 + A2 directly into a cell without the equals sign at the beginning, Excel will simply display the text of your formula as is. It will treat it as data, not a command.

How to fix it: Always start any formula with an equals sign (=). This is the most fundamental rule of Excel formulas.

3. Including Header Rows or Empty Cells

When using AutoSum, it is easy to accidentally include a row of labels or an empty row in the calculation. This can skew your results, especially if you have large datasets.

How to fix it: Before pressing Enter, carefully review the highlighted range. Delete any headers or empty cells from the selection, or manually type the correct cell range into the formula bar.

4. Incorrect Cell References

When creating the formula manually, it is easy to select the wrong cell. For example, if you meant to add cells A1 through A5, you might accidentally select B1 through B5. This will result in a completely different sum.

How to fix it: Double-check your work. Click on the cell with the formula and look at the formula bar to ensure the cell references are correct.

Tips

Mastering addition in Excel involves more than just knowing the basic formulas. These tips will help you work faster, more accurately, and more efficiently.

1. Use AutoFill for Consecutive Cells

Once you have a formula in one cell, you don't have to type it again for every new row. You can use AutoFill to quickly copy the formula down an entire column.

How to do it: Enter your formula in the first cell. Click the small square in the bottom-right corner of the cell (the fill handle). Click and drag it down to the last cell you want to calculate. Excel will automatically adjust the cell references for each row (e.g., it will change A1 to A2, then A3, and so on).

2. Use the Status Bar for a Quick Check

You don't always have to enter a formula to get a total. Excel provides a quick way to see the sum of any selected range of cells without altering your spreadsheet.

How to do it: Click and drag your mouse to select the cells you want to add. Look at the bottom-right corner of the Excel window, in the status bar. You will see the Sum, Average, Count, and Minimum values for the selected range displayed there.

3. Use the SUM Function for Non-Contiguous Ranges

When you need to add numbers from cells that are not next to each other, the AutoSum button won't work. You must use the SUM function with commas to separate the different ranges.

How to do it: Click the cell where you want the result. Type =SUM(A1, C1, E1) and press Enter. This will add the values in A1, C1, and E1 together.

4. Use the SUM Function with Conditions (SUMIF)

There are many scenarios where you only want to add numbers that meet a specific condition. For example, you might want to add up only the sales figures for a particular product or only the expenses that were over $100.

How to do it: Use the SUMIF function. The syntax is =SUMIF(range, criteria, [sum_range]). For example, to add up values in cells A1 through A5 only if they are greater than 50, you would type =SUMIF(A1:A5, >50).

5. Formatting for Clarity

Formatting your numbers can make them easier to read and understand. You can format your numbers to include currency symbols, commas as thousands separators, or specific decimal places.

How to do it: Select the cell or range of cells. Go to the Home tab. In the Number group, click the dropdown arrow. Choose the desired format, such as Currency or Accounting.

Troubleshooting

Even with careful attention to detail, issues can arise. This section covers common problems and how to resolve them.

The Result is Zero or Incorrect

If you get a result of zero or an unexpected number, check the following.

Check for hidden rows or columns. Sometimes, rows or columns that contain the data might be hidden. Go to the Home tab, find the Format button in the Cells group, and select Unhide Rows or Unhide Columns to see if your data is there.

Check for spaces. Sometimes, a space is hidden between the digits of a number. For example, a cell might contain the text 1 000 instead of the number 1000. Excel will not add this because it is not a valid number. The easiest way to find these hidden spaces is to use the Find & Select feature. Go to the Home tab, find the Find & Select button, and choose Replace. In the Find what field, type a space. In the Replace with field, leave it blank. Click Replace All.

The Result is an Error (e.g., #VALUE! or #NAME? )

If you see an error message, it means there is a syntax error in your formula.

#VALUE! error: This usually indicates that one of the cell references in your formula contains text instead of a number. Double-check that all the cells you are referencing actually contain numeric data.

#NAME? error: This usually indicates that you have misspelled a function name. For example, you might have typed SUMM(A1:A5) instead of SUM(A1:A5). Make sure you are using the correct spelling for all function names.

The Formula References Don't Update When You Copy It

If you use the AutoFill feature to copy a formula, Excel usually updates the cell references automatically. However, if you are manually typing the formula and copying it, you might need to adjust the references.

How to fix it: If you want the reference to remain fixed (e.g., always add cell A1, even when copied to column B), use a dollar sign. For example, type =A1+B1 to make it relative, or =$A$1+B1 to make it absolute.

Frequently Asked Questions

Can I add numbers across different sheets?

Yes, you can add numbers from different sheets within the same workbook. To do this, include the sheet name followed by an exclamation mark in your formula. For example, to add the value in cell A1 on Sheet2 to the value in cell A1 on Sheet1, you would type =Sheet1!A1+Sheet2!A1.

What is the difference between the plus sign and the SUM function?

The plus sign (+) is an operator that adds two numbers together. The SUM function is a built-in Excel function that is designed to add a range of cells. While you can use the plus sign to add multiple numbers, the SUM function is generally more efficient and easier to use when you have a long list of numbers.

Why does my formula return a date instead of a number?

If you enter a formula that results in a number, but Excel displays it as a date, it is likely because the cell is formatted as a Date. Excel stores dates as serial numbers, so if the cell is formatted as a date, it will display the corresponding date. To fix this, change the cell format to Number.

How do I add numbers in a non-contiguous range?

To add numbers from cells that are not next to each other, you must use the SUM function with commas to separate the cell references. For example, to add the values in cells A1, C1, and E1, you would type =SUM(A1, C1, E1).

Can I add numbers in a table?

Yes, you can add numbers in an Excel table. If you insert a total row into your table, Excel will automatically insert the SUM function for each column. To insert a total row, click anywhere inside the table and go to the Table Design tab that appears. Click the Total Row checkbox in the Table Style Options group.

What if I have a very large dataset and the AutoSum button doesn't work?

If the AutoSum button doesn't work on a large dataset, it is usually because the range is not contiguous. You can use the SUM function to add the numbers from different ranges. For example, you could type =SUM(A1:A1000, C1:C1000) to add the numbers from two separate ranges.