Salut annette,
Je n'arrive pas à trouver de fonction excel pour répondre à ta demande.
J'ai donc créé un petit programme en VBA qui pourrait te convenir:
Sub nom_joueur()
cpt = 2
For i = 2 To 65536
If IsEmpty(Sheets("Récapitulatif").Cells(cpt, 5)) = False Then
Cells(i, 2) = Sheets("Récapitulatif").Cells(cpt, 5)
cpt = cpt + 1
Cells(i, 13) = Sheets("Récapitulatif").Cells(cpt, 5)
cpt = cpt + 1
Cells(2, 2).Copy
i = i + 14
Cells(i + 1, 2).PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Cells(i + 1, 13).PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
Else
GoTo Saute
End If
Saute: Next i
End Sub
Le code n'est peut-être pas optimisé mais il fonctionne!
Dis moi si ya un problème