colonne B pour les emplacements (à symboliser 1,2 ou 3)
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionWith Sheets("Feuil1") derlig = .Cells.SpecialCells(xlCellTypeLastCell).Row Dim plage As Range, c As Range, coll As New Collection Set plage = .Range("A2:A" & derlig).SpecialCells(xlCellTypeConstants) If Not plage Is Nothing Then Sheets("Feuil2").Range("A2:A" & Rows.Count).ClearContents For Each c In plage On Error Resume Next coll.Add "", c.Value If Err = 0 Then derlig = Sheets("Feuil2").Range("A" & Rows.Count).End(xlUp).Row + 1 Sheets("Feuil2").Range("A" & derlig).Value = c.Value End If On Error GoTo 0 Next End If End With
=SI(A2<>"";CONCATENER(A2;B2);"")