Option Explicit
Sub MAJ()
Application.ScreenUpdating = False
With Sheets("Feuil2")
.Range("D1") = 1
.Range("D1").Copy
.Range("B2:C" & .Cells(Rows.Count, 1).End(xlUp).Row).PasteSpecial Paste:=xlPasteAll, Operation:=xlMultiply
.Range("D1").ClearContents
End With
With Sheets("Feuil3")
.[A1].CurrentRegion.Clear
.[B1] = "MOTOS"
.[C1] = "AUTOS"
Sheets("Feuil2").[A:A].AdvancedFilter Action:=xlFilterCopy, _
CopyToRange:=.Range("A2"), Unique:=True
.Range("B2:B" & Range("A65536").End(xlUp).Row) = "=SUMIF(Feuil2!C[-1],RC[-1],Feuil2!C)"
.Range("C2:C" & Range("A65536").End(xlUp).Row) = "=SUMIF(Feuil2!C[-2],RC[-2],Feuil2!C)"
End With
Application.ScreenUpdating = True
End Sub