SUm function and adding rows

F

FredZack

Is there a way to get the SUM function to increase the range if a row is
added right above the previous SUM range. FOr example to go from SUM(C3, C22)
to SUM (C3, C23) when I insert a row directly above row 24 - wher the SUM
function resides.
 
L

Lynz

You could use a formula like this in C23:

=SUM(C2:OFFSET(C23,-1,0))
If you sum a named range then the inserted row will be included in your
sum and the rangr will expand to suit. ?? Works ok for me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top