Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dan dan is offline
external usenet poster
 
Posts: 6
Default Excel math formula

I have a problem adding a new number to one cell

then that number gets added to a current number (like a running total) in
another cell

then the new added amount shows in that cell?

Trying to update reports...any assistance is appreciative...
V/r
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default Excel math formula

Hi Dan,

With you data stored in column A, just type in cell B1 :
=SUM($A$1:A1)
and copy formula all the way down ...


HTH
Carim

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Excel math formula

Hi Carim

This method can be very expensive on processing time as pointed out by
David McRitchie in the following thread
http://snipurl.com/10r17
Might be better to enter in B1 =A1 and in B2 = B1+A2 and copy down
column B

--
Regards

Roger Govier


"Carim" wrote in message
ps.com...
Hi Dan,

With you data stored in column A, just type in cell B1 :
=SUM($A$1:A1)
and copy formula all the way down ...


HTH
Carim



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default Excel math formula

Hi Roger,

Thanks Roger for pointing out this issue.
I was not aware of this potential problem ...

Regards
Carim

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Excel math formula

Are you sure you want to do this?

Think about it after reading the following.

You can have a cumulative total in a cell if you have a
separate source cell for adding a new total to the original.

Use at your own risk. I am Posting this just to show you how it can
be done, not as a good solution. You would be much better off to
have another column so you can keep track of past entries.

Goes like this: =IF(CELL("address")="$C$4",C4+D4,D4)

Enter this in cell D4 and then in ToolsOptionsCalculation check
Iterations and set to 1.

Now when you change the number in C4, D4 will accumulate.

Note 1. If C4 is selected and a calculation takes place anywhere in
the Application D4 will update even if no new number is entered in
C4. NOT GOOD.

Note 2. This operation is not recommended because you will have no
"paper trail" to follow. Any mistake in entering a new number in C4
cannot be corrected. NOT GOOD.

To clear out the accumulated total in D4 and start over, select D4
and EditEnter.

Check out Laurent Longre's MoreFunc.xla. Has a Function RECALL
which does what you want without the re-calculation problem, but
again there is no "paper trail" for back-checking in case of errors
in data input.

http://longre.free.fr/english/func_cats.htm

Also see John McGimpsey's site for VBA method.

http://www.mcgimpsey.com/excel/accumulator.html


Gord Dibben Excel MVP


On Mon, 30 Oct 2006 01:46:01 -0800, Dan <Dan @discussions.microsoft.com wrote:

I have a problem adding a new number to one cell

then that number gets added to a current number (like a running total) in
another cell

then the new added amount shows in that cell?

Trying to update reports...any assistance is appreciative...
V/r


Gord Dibben MS Excel MVP


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Formula Issue [email protected] Excel Discussion (Misc queries) 2 August 16th 06 11:44 PM
HOW CAN I PROTECT A FORMULA IN EXCEL Kingsley Excel Discussion (Misc queries) 6 August 13th 06 04:12 PM
converting formula from lotus.123 to excel zaharah Excel Worksheet Functions 2 July 27th 05 03:04 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
How do I view the actual numeric value of a formula in Excel 2002. Excel Function Help Excel Worksheet Functions 0 January 13th 05 10:07 PM


All times are GMT +1. The time now is 03:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"