Sum problem when insert new row

chaju

Board Regular
Joined
Mar 24, 2002
Messages
82
Please help!
Suppose in:
Cell A1 --> 10
Cell A2 --> 20
Cell A3 --> 30
Cell A4 --> =sum(A1:A3)

If I have edit a new row at row 4 and enter 40 in the new Cell A4,
Cell A1 --> 10
Cell A2 --> 20
Cell A3 --> 30
Cell A4 --> 40
Cell A5 --> =sum(A1:A3)

The problem arise such that the sum formula in cell A5 does not include the value in the new row added. or change to =sum(A1:A4)

Any Advise??

Many thanks to those who help
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Just put your SUM Function is cell A5 instead, this way you will always have a blank row between your data and your formula. Use this row to add more.



_________________
Kind Regards
Dave Hawley
OzGrid Business Applications
Microsoft Excel/VBA Training
OzGrid.BusApp.170x45.gif

This message was edited by Dave Hawley on 2002-03-26 02:47
 
Upvote 0
Or alternatively (no need to maintain a blank row), put in A4 :-

=SUM(A1:OFFSET(A4,-1,0))
 
Upvote 0

Forum statistics

Threads
1,214,400
Messages
6,119,292
Members
448,885
Latest member
LokiSonic

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top