iteration problem

colleen

Board Regular
Joined
Feb 21, 2002
Messages
61
I have a work sheet where in column C and D where c1=c1+a1 and d1=d1+b1 etc, I have set the iteration in the "calculation" under tools to 1 yet when i enter a digit in A cell D also changes, same thing happens to C when numbers are entered in B I have tried c1=$c1+$a1 and D1=$d1+$b1 but still the same thing happens huh Help me pls colleen
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi Colleen...
Seems to kinda work...

When I put =C1 + A1 in C1 all is well
but if I place any similiar formulas in the same column, no dice...
Could solve the problem in the change event...
I'll wait and see if someone else can help you..

Tom
 
Upvote 0
<pre>
Private Sub Worksheet_Change(ByVal Target As Range)
Select Case Target.Column
Case 1
Cells(Target.Row, 3).Value = _
Cells(Target.Row, 3).Value + _
Cells(Target.Row, 1).Value
Case 2
Cells(Target.Row, 4).Value = _
Cells(Target.Row, 4).Value + _
Cells(Target.Row, 2).Value
End Select
End Sub</pre>
This message was edited by TsTom on 2002-04-28 09:16
 
Upvote 0
thanks Tom, now a real silly question to enter the code I have to right click the worksheet tab and enter the code as is ..coll
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,453
Members
448,967
Latest member
grijken

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