IS there a quick way to do this?
For example I have two rows
A B
34 5
56 6
34 3
25 2
I want to do the following calculation down the rows.
A1 = A1+B1
A2 = A2+B2
A3 = A3+B3
..
..
Now I can do this with a macro that loops though the rows like
for x = 1 to 500
sheet1.cells(x,1).vlaue = sheet1.cells(x,1).vlaue + sheet1.cells(x,2).vlaue
next x
but it there a more efficient way by using ranges or something where it can be carried out as a single step?
Cheers