- Katılım
- 12 Şubat 2015
- Mesajlar
- 520
- Excel Vers. ve Dili
- Office 2016 TR 64 Bit Windows
- Altın Üyelik Bitiş Tarihi
- 01-02-2027
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Test()
Dim Bak As Integer
Dim Isim
Dim Isimler As Integer
Dim Say As Long
Dim Bul As Range
For Bak = 2 To Cells(Rows.Count, "R").End(xlUp).Row
Isim = Split(Cells(Bak, "R").Text, ",")
For Isimler = 0 To UBound(Isim)
Set Bul = Range("Y:Y").Find(Isim(Isimler), LookIn:=xlFormulas, LookAt:=xlWhole)
If Bul Is Nothing Then
Say = Cells(Rows.Count, "Y").End(xlUp).Row + 1
Cells(Say, "Y") = Isim(Isimler)
Cells(Say, "Z") = Cells(Bak, "S")
Else
Cells(Bul.Row, "Z") = Cells(Bak, "S") + Cells(Bul.Row, "Z")
End If
Next
Next
End Sub