#1   Report Post  
Posted to microsoft.public.excel.misc
TL TL is offline
external usenet poster
 
Posts: 10
Default Totals in one cell

Thank you Gord Dibben and everybody else that provided me with help.
Everything worked great!

"Gord Dibben" wrote:

Private Sub Worksheet_Change(ByVal Target As Excel.Range)

Const WS_RANGE As String = "A1:A10" '<<<<<<adjust to suit

If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then
With Target
If IsNumeric(.Value) Then
Application.EnableEvents = False
.Offset(0, 1).Value = .Offset(0, 1).Value + .Value
Application.EnableEvents = True
End If
End With
End If
End Sub


Gord Dibben MS Excel MVP

On Tue, 11 May 2010 08:49:01 -0700, tl wrote:

Would I be able to use this for a series of cells? I have several different
rows that I'm needing to keep a total of. I have it working for one total in
one cell in one row using the accumulator but I have several rows of totals.

TL

"T. Valko" wrote:

See this:

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

--
Biff
Microsoft Excel MVP


"tl" wrote in message
...
What would be the formula if possible for this setup I'm trying to use?

Cell A Cell B
2 67

When I input 2 in cell A, I want cell B to change to 69. I know how to do
that but the problem I'm running into is when I come back the following
month, and put lets say 6 in cell A, I want add 6 to the already 69 to
make
75. So, another words almost like a running balance but within cell b.

So, another words, I want to add cell a to cell b to create a new total,
then take that new total the next month and add cell a to create a new
total
but within cell b. Is this possible? Thank you.

TL


.


.

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
Two different totals in one cell something68 Excel Discussion (Misc queries) 2 May 5th 10 03:57 PM
getting totals mutiply cell by another cell then adding all togeth texansgal Excel Worksheet Functions 3 June 2nd 09 02:36 AM
cell totals Lynn Excel Discussion (Misc queries) 4 January 13th 09 04:21 PM
Pivot Totals: Group totals different from Grand totals PsyberFox Excel Discussion (Misc queries) 1 February 13th 08 06:16 PM
Comparing/matching totals in a column to totals in a row Nicole L. Excel Worksheet Functions 3 January 27th 05 10:42 PM


All times are GMT +1. The time now is 11:11 PM.

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"