PC Review


Reply
Thread Tools Rate Thread

Adding Calculation

 
 
JR
Guest
Posts: n/a
 
      18th Dec 2004
Hello,

What I would like to do is have a cell keep adding a sum from another cell.
SAy I have two cells, A1 is going to have a number entered into it and B1 is
going to be the total of all the numbers put into A1. Also is it possible
after number is entered into A1 it resets back to zero, but B1 retains sum
of all numbers entered?

Thanks JR


 
Reply With Quote
 
 
 
 
Frank Kabel
Guest
Posts: n/a
 
      18th Dec 2004
Hi
see:
http://www.mcgimpsey.com/excel/accumulator.html

--
Regards
Frank Kabel
Frankfurt, Germany

JR wrote:
> Hello,
>
> What I would like to do is have a cell keep adding a sum from another
> cell. SAy I have two cells, A1 is going to have a number entered into
> it and B1 is going to be the total of all the numbers put into A1.
> Also is it possible after number is entered into A1 it resets back to
> zero, but B1 retains sum of all numbers entered?
>
> Thanks JR



 
Reply With Quote
 
Jerry W. Lewis
Guest
Posts: n/a
 
      18th Dec 2004
A cell formula does not have memory. The only way to build in memory is
with VBA (You chould have a worksheet change event that updates B1 when
there is a change in A1, as suggested by Frank).

As a practical matter, memory in a calculation is almost always a bad
idea. How would you deal with data entry errors in R8? If the running
total somehow gets out of sync, how would you correct, or even detect it?

Jerry

JR wrote:

> Hello,
>
> What I would like to do is have a cell keep adding a sum from another cell.
> SAy I have two cells, A1 is going to have a number entered into it and B1 is
> going to be the total of all the numbers put into A1. Also is it possible
> after number is entered into A1 it resets back to zero, but B1 retains sum
> of all numbers entered?
>
> Thanks JR


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding time after calculation mrrherrera Microsoft Excel Misc 9 12th Jan 2009 08:03 PM
Adding a calculation field? =?Utf-8?B?RGFubmkyMDA0?= Microsoft Access 3 4th Apr 2007 02:59 AM
Adding Calculation Field to Form tskb@sbcglobal.net Microsoft Access Forms 1 11th Aug 2006 05:55 PM
Adding a column automatically with calculation timecrisis Microsoft Excel Programming 0 4th Mar 2006 07:59 PM
Adding a calculation to a field Van T. Dinh Microsoft Access 3 16th Jul 2005 03:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:43 AM.