# Is it possible to sum an entire column without setting explicit cell boundaries in Excel?

I'd like to sum all the values in a column starting from a certain minimum value, but I don't want to give an upper bound because any value in the table will be appropriate for summing (minus the header of course) and I'd like to do it the "right" way instead of summing `A2:A65535`.

Is this possible?

Just leave off the row numbers:

``````=SUM(A:A)
``````

Note that this expression cannot be placed in column A (that would cause an endless recursive summation which Excel won't allow).

If you instead wanted to sum all of the rows in column A above the current row (say 51) you could do this:

``````=SUM(A\$1:A50)
``````

If you ever move the cell that holds that expression it would change the A50 to whatever is above the current cell while keeping the starting point of the summation (A1) the same.

The same thing can be done if the total is kept above the summed cells in the current row (say row 1):

``````=SUM(A2:A\$51)
``````
• So you have to do either an entire column, or both a non-inclusive lower bound with an explicit upper bound? In my case, I'd like to do a mix of the two =SUM(A\$1:A) but it doesn't seem to work. In any case, summing the entire column ignores the header and sums my column, so I'll mark this as an answer. Thanks! – bwerks May 18 '10 at 13:37
• When summing, text should be ignored so as long as your sum is stored in a different column `=SUM(A:A)` should work fine. – Trey Hunner May 18 '10 at 16:05
• Note that if you have a blank line beneath the header then you will get an error with `SUM(A:A)`. Removing the blank row will get it to work. – ChrisB May 7 '13 at 10:54
• yessssssssssssss – Brock Hensley Jul 23 '13 at 22:44
• So how would you do this while putting the expression in column A? Or is it impossible? – user3932000 Nov 27 '17 at 6:54

In my case the fields I didn't want to include in the range actually did have numbers in them. I was stumped until I figured out that you can just sum the entire column and then simply subtract the fields you don't want:

``````=(SUM(\$B:\$B)-SUM(\$B\$1:\$B\$6))
``````

Where the first six rows of column B are numbers but not relevant to the data I want summed, and column B contains an indefinite number of rows of information.

``````=SUM(C4:C)
``````

It will sum all rows in C column starting from the 4th row.

• This answer is incorrect. Excel will not accept the `C` for the second part of the range reference when the first specifies a specific cell. The reference is illogical: My range is C4 to C what? – I say Reinstate Monica Nov 22 '14 at 21:43
• Sorry. I thought it is about Google Spreadsheets, where it works. My mistake. – Michal Felski Nov 22 '14 at 22:35
• Well also this was answered like four years ago. – bwerks Nov 27 '14 at 1:18
• Funny, this is what i needed! Thx for the effort. Google Spreadsheets example. – animaacija Jun 7 '15 at 10:42
• I needed this for Google Spreadsheets actually so this helped me. – Hanna Oct 27 '15 at 0:03

I wanted to sum `C2:C∞` and used a strange solution:

I placed the formula `=SUM(C:C)` inside `B1`, then used merge cells command to merge `B1` and `C1`. Result was like this: • You greyed out because it's personal. But now I don't even understand what you want to say. What's the point of answering like that? – rafee Oct 31 '18 at 1:48
• I take back my comment. I totally misunderstood, my bad. – rafee Oct 31 '18 at 23:46