- Katılım
- 11 Nisan 2007
- Mesajlar
- 125
- Excel Vers. ve Dili
- excel=2016
türkçe
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub test()
For j = 2 To 9
If Cells(18, j) <> "" Then
For i = 2 To 16
If IsNumeric(Cells(i, j)) Then
p = Application.Sum(Cells(2, j).Resize(15))
t = t + Cells(i, j)
s = s + 1
If t >= Cells(18, j) Then Exit For
End If
Next i
Cells(19, j) = t
Cells(20, j) = s
Cells(21, j) = p - t
s = 0
t = 0
End If
Next j
MsgBox "Bitti.", vbInformation
End Sub