A simple table with four columns, column 1 which has data is called _Log Hour, column 2 which has data, is called Calls. Columns 3 and 4 _Hour logged and _Sum Calls per Hour are currently empty waiting to be populated.
_Log Hour Calls _HourLogged _Sum Calls per Hour
8 3
9 2
9 4
9 7
9 2
10 2
10 2
10 4
I've tried that basic of Do while
Sub automate()
r = 2
Do While Cells(r, 1) <> ""
Cells(r, 3) = Cells(r, 1) * Cells(r, 2)
r = r + 1
Loop
End Sub
Just to try and see how it works, that is a success but What it should take the first _LogHour, enter it in _Hourlogged then whilst the _LogHour doesn't change I want it sum Calls.
So, for instance, an updated table would look something like this
_Log Hour Calls _HourLogged _Sum Calls per Hour
8 3 8 3
9 2 9 15
9 4
9 7
9 2
10 2 10 8
10 2
10 4