DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
t = Range("E65536").End(xlUp).Row
For i = t To 1 Step -1
If Cells(i, 5) = "G" Then GoTo 10
Next
10 Range("G2") = Range("E65536").End(xlUp).Row - Cells(i, 5).Row
For i = t To 1 Step -1
If Cells(i, 5) = "B" Then GoTo 20
Next
20 Range("H2") = Range("E65536").End(xlUp).Row - Cells(i, 5).Row
For i = t To 1 Step -1
If Cells(i, 5) = "M" Then GoTo 30
Next
30 Range("I2") = Range("E65536").End(xlUp).Row - Cells(i, 5).Row
For i = t To 1 Step -1
If Cells(i, 6) > 500 Then GoTo 40
Next
40 Range("J2") = Range("F65536").End(xlUp).Row - Cells(i, 6).Row
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
t = Range("E65536").End(xlUp).Row
For i = t To 1 Step -1
If Cells(i, 5) = "G" Then GoTo 10
Next
10 Range("G2") = Range("E65536").End(xlUp).Row - Cells(i, 5).Row
For i = t To 1 Step -1
If Cells(i, 5) = "B" Then GoTo 20
Next
20 Range("H2") = Range("E65536").End(xlUp).Row - Cells(i, 5).Row
For i = t To 1 Step -1
If Cells(i, 5) = "M" Then GoTo 30
Next
30 Range("I2") = Range("E65536").End(xlUp).Row - Cells(i, 5).Row
For i = t To 1 Step -1
If Cells(i, 6) > 500 Then GoTo 40
Next
40 Range("J2") = Range("F65536").End(xlUp).Row - Cells(i, 6).Row
t = Range("E65536").End(xlUp).Row
For i = t To 1 Step -1
If Cells(i, 5) = "G" Then GoTo 50
Next
50 m = Cells(i, 5).Row
For k = m To 1 Step -1
If Cells(k, 5) <> "G" Then
say = say + 1
End If
Next
Range("N2") = say
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
sonhucre = Range("A65536").End(xlUp).Row
For hucre = sonhucre To 1 Step -1
If Cells(hucre, 2) > Cells(hucre, 4) Then
Cells(hucre, 5) = "G"
End If
If Cells(hucre, 2) = Cells(hucre, 4) Then
Cells(hucre, 5) = "B"
End If
If Cells(hucre, 2) < Cells(hucre, 4) Then
Cells(hucre, 5) = "M"
End If
Next
t = Range("E65536").End(xlUp).Row
For i = t To 1 Step -1
If Cells(i, 5) = "G" Then GoTo 10
Next
10 Range("G2") = Range("E65536").End(xlUp).Row - Cells(i, 5).Row
For i = t To 1 Step -1
If Cells(i, 5) = "B" Then GoTo 20
Next
20 Range("H2") = Range("E65536").End(xlUp).Row - Cells(i, 5).Row
For i = t To 1 Step -1
If Cells(i, 5) = "M" Then GoTo 30
Next
30 Range("I2") = Range("E65536").End(xlUp).Row - Cells(i, 5).Row
For i = t To 1 Step -1
If Cells(i, 6) > 500 Then GoTo 40
Next
40 Range("J2") = Range("F65536").End(xlUp).Row - Cells(i, 6).Row
t = Range("E65536").End(xlUp).Row
For i = t To 1 Step -1
If Cells(i, 5) = "G" Then GoTo 50
Next
50 m = Cells(i, 5).Row
For k = m To 1 Step -1
If Cells(k, 5) <> "G" Then
say = say + 1
End If
Next
Range("N2") = say
End Sub