=TRIERPAR(A1:A4;SEQUENCE(5;1;1;1);-1)
Sub Renverser()
Dim rc&, a, i
Application.ScreenUpdating = False
With [A1:A5]
rc = .Rows.Count
a = .Value
For i = 1 To rc
.Rows(i) = Application.Index(a, rc + 1 - i, 0)
Next
End With
End Sub
=CHOISIRLIGNES(A1:A5;SEQUENCE(5;1;5;-1))
=LET(p;A1:A5;TRIERPAR(p;LIGNE(p);-1))
=LET(p;A1:A5;TRIERPAR(SI(p="";"";p);LIGNE(p);-1))
Staple à dit:Avec 365, sans spécifier la plage
=LET(p;INDIRECT("A1:A"&MAX(SI(A:A<>"";LIGNE(A:A);"")));TRIERPAR(SI(p="";"";p);LIGNE(p);-1))
PS : ta fonction précédente ne renverse pas=LET(p;INDIRECT("A1:A"&MAX(SI(A:A<>"";LIGNE(A:A);"")));t;TRIERPAR(SI(p="";"";p);LIGNE(p);-1);FILTRE(t;t<>""))
sulp esrevner en no lecxE nom te iom ,duahc ,tiaf li dnauq ,eRPS : ta fonction précédente ne renverse pas