Bonjour,
solution via une macro. La macro fait l'hypothèse que les devis portant le même numéro (mais avec version différente) se suivent.
Sub aargh()
With Sheets("feuil1")
k = 4 'position de la ligne titre
ik = k
dl = .Cells(Rows.Count, 1).End(xlUp).Row
.Columns("G:I").Delete
.Cells(k, 7).Resize(, 3).Value = .Cells(k, 1).Resize(, 3).Value
mmax = 0
dev = ""
For i = k + 1 To dl + 1
ndev = .Cells(i, 1)
If InStr(ndev, "/") <> 0 Then ndev = Left(ndev, InStr(ndev, "/") - 1)
If ndev <> dev Then
If dev <> "" Then
k = k + 1
.Cells(k, 7).Resize(, 3).Value = .Cells(imax, 1).Resize(, 3).Value
End If
imax = i
mmax = .Cells(i, 3)
dev = ndev
Else
If .Cells(i, 3) > mmax Then
imax = i
mmax = .Cells(i, 3)
End If
End If
Next i
.Range("G" & ik & ":I" & k).Borders.Weight = xlThin
End With
End Sub