- Katılım
- 11 Ağustos 2007
- Mesajlar
- 7
- Excel Vers. ve Dili
- excel 2003
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub fdl()
Sheets("stok durumu").Select
For i = 4 To Range("a65000").End(xlUp).Row
If WorksheetFunction.CountIf(Range("b4:b" & i), Cells(i, 2)) > 1 Then
Rows(i).Delete Shift:=xlUp
i = i - 1
GoTo atla
End If
d = WorksheetFunction.SumIf(Range("b4:b65000"), Cells(i, 2), Range("j4:j65000"))
If Cells(i, "b") = "" Then GoTo atla
Cells(i, "e").Value = d
Cells(i, "j").Value = d
atla:
Next
End Sub