Bonjour à tous,
Une solution VBA, sous forme de fonction personnalisée :
Function CONCATOBS(plgobs As Range, plglib As Range) As String
Dim tx$, i%
Application.Volatile
tx = "."
For i = 2 To plgobs.Cells.Count
If plgobs.Cells(i) <> "" Then
tx = Replace(tx, ".", " ; " & plglib.Cells(i) & ": " _
& plgobs.Cells(i) & ".")
End If
Next i
tx = Replace(tx, " ; ", plgobs.Cells(1) & ": ", 1, 1)
CONCATOBS = tx
End Function
Cordialement.