keep a record?

misterio38

New Member
Joined
Aug 7, 2015
Messages
7
hello

i wonder if any of you could help me

i need a formula in a cell that can "remember" or "keep a record" and sum the values that changes in other cell

example
11

<tbody>
</tbody>

then
23

<tbody>
</tbody>
then
03

<tbody>
</tbody>
then
14

<tbody>
</tbody>

etc

please it would help me a lot
and it would be great if it was a formula and not vba
i still dont know to use that

thank you
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Re: keep a record? (new in excel please help)

You can't do that with native Excel formulas. You need VBA. If you want to try that, open a copy of your workbook. Right click on the sheet tab on the bottom and select View Code. Paste this code in the window that opens:
Rich (BB code):
Private Sub Worksheet_Change(ByVal Target As Range)
    If Target.Address = "$A$1" Then [B1] = [B1] + [A1]
End Sub
B1 is where you want the sum to go, A1 where the number to add will go. Change as needed. Close the VBA editor with Alt-Q. Try it out. Let us know if this works for you.
 
Upvote 0
Re: keep a record? (new in excel please help)

sorry to bother you but
im not sure what im doing
i tried that but nothing happens
do i have to press the "play" icon? (i did)
if its not to much to ask can you gimme a tutorial link to explain what im doing wrong
than you
 
Upvote 0
Re: keep a record? (new in excel please help)

sorry
i just find how to do it
sorry it works great
thanks for the help
sorry
 
Upvote 0

Forum statistics

Threads
1,214,981
Messages
6,122,565
Members
449,089
Latest member
Motoracer88

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