The fastest way to add a column of numbers
Select the empty cell where you want the total to appear. Type =SUM(, then click the first number in the column you want to add, hold Shift, and click the last number. Type ) and press Enter. Excel will add all the numbers between those two cells and show the result.
If your numbers are in column B from row 2 to row 10, for example, you would type =SUM(B2:B10) and press Enter. The colon tells Excel to include every cell in that range. You can also type the range directly without clicking. This is faster once you know which rows hold your data, and it works the same way whether you type it or point to the cells.
Key Takeaways
- The SUM function adds a range of cells: type =SUM(B2:B10) to add cells B2 through B10.
- You can click to select the range instead of typing it, which helps if you are not sure which rows contain data.
- The result appears in the cell where you typed the formula, not in the original column.
- If you add a new number to the column later, the SUM formula updates automatically.
- You can add multiple separate ranges in one formula by using commas: =SUM(B2:B5,B8:B10).
Selecting the range by clicking instead of typing
Click the cell where you want the total. Type =SUM( and stop. Now click the first cell with a number in it. You will see Excel highlight that cell and add it to your formula. Hold Shift and click the last cell with a number. Excel will show the entire range highlighted in blue.
Type ) to close the formula and press Enter. This method is useful when you have a long column and are not sure which row the data ends on, because you can see exactly which cells are included. The visual feedback helps you catch mistakes before you press Enter.
Adding a column that updates when you change numbers
Once you have entered a SUM formula, the total updates automatically whenever you change any number in that range. If you typed =SUM(B2:B10) and later change the value in B5 from 100 to 150, the total will increase by 50 without you doing anything else.
This is one reason to use a formula instead of calculating the total yourself and typing it in. The formula stays connected to the numbers, so it always shows the correct sum. When you edit a cell in the range, Excel recalculates the total instantly.
Adding multiple columns at once
If you have several columns that each need a total, you can add them one at a time using the same method, or you can create one SUM formula and copy it across. Type =SUM(B2:B10) in the cell to the right of your first column. Click that cell, copy it (Ctrl+C on Windows, Command+C on Mac), then select the cells to the right where you want the other totals and paste (Ctrl+V or Command+V).
Excel will adjust the formula for each column automatically. The formula in the second column will become =SUM(C2:C10), the third will be =SUM(D2:D10), and so on. This saves time if you have many columns to total and ensures each column uses the same row range.
What to do if your numbers are not in a continuous block
If the numbers you want to add are scattered across different rows with gaps between them, you can still use SUM. Type =SUM(B2:B5,B8:B10) to add two separate ranges. Use a comma to separate each range, and Excel will add all the numbers in both blocks.
You can also add individual cells this way: =SUM(B2,B5,B8) will add only those three cells and skip everything in between. This is useful when you have a spreadsheet with labels or blank rows mixed in with your data. The comma acts as a separator between each section you want included.
Fixing common mistakes
If your formula shows an error like #VALUE!, check that all the cells in your range contain numbers. Text, blank cells, or cells with spaces will sometimes cause this error. Click each cell in the range to see what is actually in it. Empty cells are usually fine, but text mixed with numbers can trigger the error.
If the total looks wrong, make sure you selected the right range. A common mistake is including a header row that contains text instead of a number, or accidentally leaving out the last row of data. Click the cell with the formula and look at the blue highlight to see which cells are included. You can edit the formula directly in the formula bar at the top of the screen.
Frequently Asked Questions
Can I add a column if the numbers are in a row instead?
Yes. Use the same SUM formula but reference the row instead: =SUM(B2:F2) adds cells B2 through F2 across the row. The method is identical; you are just selecting horizontally instead of vertically.
What if I want to add only numbers above a certain value?
Use SUMIF instead of SUM. Type =SUMIF(B2:B10,">50") to add only numbers greater than 50. Replace the number and the comparison symbol with what you need. This function is more complex but works the same way as SUM.
Does the formula work if I delete a row from the middle of the range?
Yes. If you delete row 5 from a range that was B2:B10, the formula automatically adjusts to B2:B9 and recalculates. Excel removes the deleted row from the range without you changing the formula.
Can I see the formula after I have entered it?
Click the cell with the total and look at the formula bar at the top of the screen. It shows the formula you typed. You can edit it there by clicking in the formula bar and making changes, then pressing Enter.
What happens if I copy a SUM formula down instead of across?
Excel adjusts the row numbers instead of the column letters. If you copy =SUM(B2:B10) down to the next row, it becomes =SUM(B3:B11). This is useful if you want a running total or separate sums for different sections of data.