montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 985
- Office Version
- 2010
- Platform
- Windows
Hello People.
With this code I got this:
Adding row by row and results on "I".
I am looking for adding just the triangle, here just for illustration and simplicity is the number 5 but could be any value, so the expecting results would be
so. what I have to change in order to get it.
I appreciate you reading this,
would be nice if someone give me a hand here.
Please.
VBA Code:
Sub pr_1()
Dim Row As Integer
Dim Column As Integer
For Row = 2 To 7
For Column = 2 To 7
Cells(Row, 9).Value = Cells(Row, 9).Value + Cells(Row, Column).Value
Next
Next
End Sub
Adding row by row and results on "I".
I am looking for adding just the triangle, here just for illustration and simplicity is the number 5 but could be any value, so the expecting results would be
so. what I have to change in order to get it.
I appreciate you reading this,
would be nice if someone give me a hand here.
Please.