Newbie -How do you lock a range of cells to sum when shifting data?

travelguy

New Member
Joined
Aug 25, 2011
Messages
1
I'm new to this forum. If I have a cell, say D5, and I want to add what was in D4, and then add b5 and subtract c5, I can easily do that. Then, in D6, the sum would be +D5+b6-c6, and so on. The problem is when I move data in b and c from/to different rows, the sum function for D does not carry as in above. The sum function changes to reflect the data in the b and c rows that i moved around.

I want to lock the sum as above in d column, in each sequential row, regardless of how the data is moved around in b and c.

Please help.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Is this what you mean?

=SUM(D5,INDIRECT("B6"),-INDIRECT("C6"))

Note that INDIRECT is a volatile function. Volatile functions recalculate each time a change of data occurs in any cell on any worksheet, regardless of whether a cell they are referencing has changed. As a result, recalculation times can be prolonged.
 
Upvote 0
Perhaps Absolute and Relative References would solve your problem.
If so, Help can give you guidance.
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,710
Members
452,939
Latest member
WCrawford

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