Hi Tinku,
I've added another loop. Replace Avent1, 2 & 3 with sheet names as required.
Now you should have time for a cream bun as well!
Option Explicit
Sub Macro2()
Dim MyStart As Long, MyEnd As Long, i As Long
Dim MySections, MS, MySheets, Sh
Dim ThsSht As String
ThsSht = ActiveSheet.Name
Application.ScreenUpdating = FalseMySheets = Array("Avent", "Avent1", "Avent2")
For Each Sh In MySheets
Sheets(Sh).Activate
MySections = Array(6, 8)
For Each MS In MySections
With Range("B:B")
MyStart = .Find(What:="Section " & MS & ":", After:=[B1], LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Row
MyEnd = .Find(What:="Section " & MS & ":", After:=[B1], LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Offset(9, 0).End(xlDown).Row
End With
Cells(MyStart + 1, "I").Formula = "=SUMIF($AA" & MyStart + 9 & ":$AA" & MyEnd _
& "," & Chr(34) & "SMB" & Chr(34) & ", I" & MyStart + 9 & ":I" & MyEnd & ")"
Cells(MyStart + 1, "I").Range("A1:E1").FillRight
Cells(MyStart + 4, "I").Formula = "=SUM(I" & MyStart + 5 & ":I" & MyEnd & ")"
Cells(MyStart + 4, "I").Range("A1:E1").FillRight
Next
Next
Sheets(ThsSht).Activate
Application.ScreenUpdating = True
End Sub