Hello Again,
I have adopted the below script and ammend it according to my requirement. But i was struck with a small issue. What i am doing here is i am inserting a blank row after every unique value change and trying to sum the above. But i am unable to put the formula and the problem is here in highlighted part.
Dim StartRow As Integer
Dim EndRow As Integer
StartRow = 2
EndRow = Range("A500").End(xlUp).Offset(1, 0).Row
For i = StartRow To EndRow
If Cells(i, "B") = "" And i > StartRow Then
Cells(i, "A").Formula = Cells(i - 1, "A").Value & "=SUM(E" & StartRow & ":E" & i - 1 & ")"""
StartRow = i + 1
End If
Next
I appreciate if any one help me to solve this issue please.
Bookmarks