Hello, I want to put a condition when moving to a new month or when checking for the presence of the word ok in column A
The counting process is stopped and restarted
This is an example of the expected resultThis is an example
The counting process is stopped and restarted
This is an example of the expected resultThis is an example
VBA Code:
Sub Progressive_Product_v2()
Dim a As Variant
Dim i As Long
With Range("q7", Range("q" & Rows.Count).End(xlUp))
a = .Value
For i = 2 To UBound(a)
a(i, 1) = a(i, 1) + a(i - 1, 1)
Next i
.Offset(, 1).Value = a
End With
With Range("R7", Range("R" & Rows.Count).End(xlUp))
a = .Value
For i = 2 To UBound(a)
a(i, 1) = a(i, 1) + a(i - 1, 1)
Next i
.Offset(, 1).Value = a
End With
End Sub
TEST1(2)
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com