DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub hk_Deneme()
For i = 1 To Cells(Rows.Count, 9).End(3).Row
For a = 10 To Cells(i, Columns.Count).End(1).Column
Sonsat = Cells(Rows.Count, 1).End(3).Row + 1
Cells(Sonsat, 1).Value = Cells(i, 9).Value
Sonsat2 = Cells(Rows.Count, 2).End(3).Row + 1
Cells(Sonsat2, 2).Value = Cells(i, a).Value
Next a
Next i
End Sub
Sub OzetCikar()
Dim s, a1, a2, deg, dizi, i As Long, j As Long
Application.ScreenUpdating = False
Range(Cells(9, "I"), Cells(Rows.Count, Columns.Count)).ClearContents
With CreateObject("Scripting.Dictionary")
For i = 1 To Cells(Rows.Count, "A").End(xlUp).Row
deg = Cells(i, "A")
If Not .exists(deg) Then
s = Cells(i, "B")
.Add deg, s
Else
s = .Item(deg)
s = s & "-" & Cells(i, "B")
.Item(deg) = s
End If
Next i
a1 = .keys: a2 = .items
For i = 0 To .Count - 1
Cells(i + 1, "I") = a1(i)
s = a2(i)
dizi = Split(s, "-")
For j = 0 To UBound(dizi)
Cells(i + 1, j + 10) = dizi(j)
Next j
Next i
End With
End Sub
Merhaba,
Ben aktarımı tam tersi olarak algıladım. Alternatif olsun.
.