ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   continuous sum formula needed (https://www.excelbanter.com/excel-discussion-misc-queries/53767-continuous-sum-formula-needed.html)

NN

continuous sum formula needed
 
I have a column of numbers, with a simple SUM formula at the bottom, to which
I need to add new rows from time to time. How can I get the sum formula to
recognize an added row so the calculation is correct rather that changing the
formula manually?

Niek Otten

continuous sum formula needed
 
Insert one extra line. You could fill it with ***.
Include this line in the SUM formula.
If you need to insert new lines, insert them above the *** line. Your SUM
formula will be adjusted automatically.

--
Kind regards,

Niek Otten

"NN" wrote in message
...
I have a column of numbers, with a simple SUM formula at the bottom, to
which
I need to add new rows from time to time. How can I get the sum formula
to
recognize an added row so the calculation is correct rather that changing
the
formula manually?




Art

continuous sum formula needed
 
Another option would be to sum the entire column -- but then you'd have to
put your total in a different column. This would look like: sum(B:B) if you
were summing column B.

Another alternative, if you really want the sum to be at the bottom of the
column, you can use this formula in Cell B7. If you insert rows above it, it
should stay okay.

=SUM($B$1:INDIRECT(CELL("address",OFFSET(B7,-1,0))))

Art


"NN" wrote:

I have a column of numbers, with a simple SUM formula at the bottom, to which
I need to add new rows from time to time. How can I get the sum formula to
recognize an added row so the calculation is correct rather that changing the
formula manually?



All times are GMT +1. The time now is 01:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com