Sub ReArranger()
Const Source = "Feuil_test", Tempo = "Auxil"
Dim a, der&, deb
deb = Timer: Application.ScreenUpdating = False
If Application.CountIf(Sheets(Source).Range("b2:b5"), "Date :*") = 0 Then Exit Sub
a = Application.Evaluate("=IFERROR(COLUMNS('" & Tempo & "'!A1),NA())")
If IsError(a) Then ThisWorkbook.Worksheets.Add: ActiveSheet.Name = Tempo
With Sheets(Tempo)
.Columns("a:c").Clear
Sheets(Source).Columns(2).Copy .Columns(1)
der = .Cells(Rows.Count, 1).End(xlUp).Row
.Range("b2:b" & der).FormulaR1C1 = "=IF(LEFT(RC[-1],2)=""ex"",RC[-1],IF(RC[-1]="""",NA(),""""))"
.Range("c2:c" & der).FormulaR1C1 = "=IF(LEFT(R[1]C[-2],2)=""da"", R[1]C[-2],IF(LEFT(R[1]C[-2],2)=""me"", R[1]C[-2],IF(LEFT(R[1]C[-2],2)=""te"", R[1]C[-2],"""")))"
.Range("b2:c" & der).Value = .Range("b2:c" & der).Value
.Range("a2:a" & der).FormulaR1C1 = "=IF(ISNA(RC[1]),NA(),"""")"
.Range("a2:a" & der).Value = .Range("a2:a" & der).Value
On Error Resume Next
.Range("a2:c" & der).Sort key1:=.Range("a2"), order1:=xlAscending, Header:=xlNo
.Columns(1).Resize(der).SpecialCells(xlCellTypeConstants, xlErrors).EntireRow.Delete
.Range("a1").Copy .Range("b1")
.Columns("b:c").Copy Sheets(Source).Columns("b:c")
End With
Sheets(Source).Range("b:c").EntireColumn.AutoFit
a = Application.Evaluate("=IFERROR(COLUMNS('" & Tempo & "'!A1),NA())")
If Not IsError(a) Then Application.DisplayAlerts = False: Sheets(Tempo).Delete: Application.DisplayAlerts = True
MsgBox Format(Timer - deb, "0.0\ sec.")
End Sub