ciao
intanto che scrivevo la sub() ho visto che patel, che saluto , ti ha gia postato una soluzione
ti posto anche la mia soluzione in base ai tuoi dati
Option Explicit
Sub TrasponiValori()
Dim i As Long, Nriga As Long, Ncol As Long
Dim Vriga As Variant
Nriga = 3
Ncol = 26
For i = 3 To Cells(Rows.Count, "K").End(xlUp).Row
Vriga = Cells(i, "L")
If Vriga = 1 Then
Cells(Nriga, "U") = Cells(i, "K")
Cells(Nriga, "V") = Cells(i, "M")
Cells(Nriga, "W") = Cells(i, "N")
End If
Cells(Nriga, Ncol) = Cells(i, "Q")
Ncol = Ncol + 1
Cells(Nriga, Ncol) = Cells(i, "R")
Ncol = Ncol + 1
Cells(Nriga, Ncol) = Cells(i, "S")
Ncol = Ncol + 1
If Vriga = 12 Then
Nriga = Nriga + 1
Ncol = 26
End If
Next i
End Sub