- Katılım
- 4 Mart 2013
- Mesajlar
- 39
- Excel Vers. ve Dili
- 2010
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
=EĞERHATA(İNDİS('sipariş '!A$2:A$100;KÜÇÜK(EĞER('sipariş '!$D$2:$D$100="işlendi"
;SATIR('sipariş '!$D$2:$D$100)-SATIR('sipariş '!$D$2)+1);SATIRSAY(A$2:A2)));"")
Sub tasi()
Dim i As Long, s As Long, S2 As Worksheet, d As String
Set S2 = Sheets("Sayfa2")
Application.ScreenUpdating = False
Sheets("sipariş ").Select
s = S2.Cells(Rows.Count, "A").End(xlUp).Row + 1
For i = Cells(Rows.Count, "A").End(xlUp).Row To 2 Step -1
d = UCase(Replace(Replace(Cells(i, "D"), "ı", "I"), "i", "İ"))
If d = "İŞLENDİ" Then
Cells(i, "A").Resize(1, 4).Copy S2.Cells(s, "A")
s = s + 1
Rows(i).Delete
End If
Next i
End Sub