Sum all rows above

  • Thread starter Thread starter Robert
  • Start date Start date
R

Robert

I want to put into a cell the total of all numbers above that cell in that
column. I want to do this without specifying specific rows. In this way,
if a row were added above the total, it would be included in the total
correctly.

Robert
 
=sum(indirect("r1c"&column()&":r"& (row()-1)&"c"&column(),false))
 
One more.

If your formula is in A101:
=sum(a1:offset(a101,-1,0))
 
Robert said:
I want to put into a cell the total of all numbers above that cell in that
column. I want to do this without specifying specific rows. In this way,
if a row were added above the total, it would be included in the total
correctly.

Robert
 

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

Back
Top