- Katılım
- 3 Ekim 2011
- Mesajlar
- 63
- Excel Vers. ve Dili
- 2010
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Merhaba.Arkadaşlar çalışma sayfasında da sorunumu açıklamaya çalıştım. Yardımcı olabilirseniz sevinirim teşekkürler.
Sub ekle()
Dim SonSat1 As Long, SonSat2 As Long, SonSut As Long
Set Syf = Worksheets("22.03.2012")
SonSat1 = Cells(Rows.Count, 2).End(xlUp).Row
SonSat2 = Cells(Rows.Count, 3).End(xlUp).Row
SonSut = Cells(Columns.Count, 2).End(xlUp).Column
For a = 6 To SonSat1
For b = 6 To SonSat2
If Cells(a + 28, "a") = Syf.Cells(b, SonSut) Then _
Cells(a, "F") = Syf.Cells(a, SonSut) + Syf.Cells(b, SonSut)
Next: Next
End Sub