Bonjour,
une solution via une macro qui s'applique à la feuille active
Sub replacedetail()
dc = Cells(1, Columns.Count).End(xlToLeft).Column
maxl = Cells(Rows.Count, 1).End(xlUp).Row
For i = 5 To dc
dl = Cells(Rows.Count, i).End(xlUp).Row
If dl > 1 Then
Cells(1, i).Copy
Range(Cells(2, i), Cells(dl, i)).SpecialCells(xlCellTypeConstants, 23).Select
ActiveSheet.Paste
End If
Next i
Range(Cells(2, 5), Cells(maxl, dc)).Borders.Weight = xlThin
End Sub