D
Dimetric Houston
I have a worksheet that has four columns of data. At the bottom of each
column is a total of the that column.
My problem is adapting the SUM formula to be able to work if the number
of rows changes. Let's say that presently the formula is totaling up 81
cells. I have VBA code in place to add an additional element if the
user would like. Now there are 82 cells that need to be totaled.
I can't get the SUM formula to adapt to being able to sum a varying
number of cells. I tried to use a named range, but the formula doesn't
accept it.
I tried to use SUBTOTAL also, but I ran into the same problem.
Is there any way I can make the SUM formula dynamic and able to work
with a named range?
Thanks.
** Posted via: http://www.ozgrid.com
Excel Templates, Training, Add-ins & Software!
http://www.ozgrid.com/Services/excel-software-categories.htm **
column is a total of the that column.
My problem is adapting the SUM formula to be able to work if the number
of rows changes. Let's say that presently the formula is totaling up 81
cells. I have VBA code in place to add an additional element if the
user would like. Now there are 82 cells that need to be totaled.
I can't get the SUM formula to adapt to being able to sum a varying
number of cells. I tried to use a named range, but the formula doesn't
accept it.
I tried to use SUBTOTAL also, but I ran into the same problem.
Is there any way I can make the SUM formula dynamic and able to work
with a named range?
Thanks.
** Posted via: http://www.ozgrid.com
Excel Templates, Training, Add-ins & Software!
http://www.ozgrid.com/Services/excel-software-categories.htm **