Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bill
 
Posts: n/a
Default Two cell accumulator

I can make A1 accumulate to B1, no problem. My question is how do you get
additional cell to accumulate without changing the values in the previous
cells. I would like this to work for multi rows : Example- A1 accumulate to
B1, A2 accumulate to B2, A3 accumulate to B3 and so on. Each row would stand
on it's own.
--
Bill
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Bill,

It would help if you would post how you are doing this: my method would
involve the worksheet's change event:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count 1 Then Exit Sub
If Target.Column = 1 Then
Target(1, 2).Value = Target(1, 2).Value + Target.Value
End If
End Sub

HTH,
Bernie
MS Excel MVP

"Bill" wrote in message
...
I can make A1 accumulate to B1, no problem. My question is how do you get
additional cell to accumulate without changing the values in the previous
cells. I would like this to work for multi rows : Example- A1 accumulate

to
B1, A2 accumulate to B2, A3 accumulate to B3 and so on. Each row would

stand
on it's own.
--
Bill



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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 07:18 AM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 06:42 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"