DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, [G3]) Is Nothing Then Exit Sub
If Target = "" Then
[H3] = ""
[I3] = ""
Else
For seri = Cells(Rows.Count, 3).End(3).Row To 2 Step -1
If Cells(seri, 3) = Target Then
For kod = seri To 2 Step -1
If Cells(kod, 2) <> "" Then
[H3] = Cells(kod, 2)
kod = 2
End If
Next
For sehir = seri To 2 Step -1
If Cells(sehir, 1) <> "" Then
[I3] = Cells(sehir, 1)
sehir = 2
End If
Next
End If
Next
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, [G3]) Is Nothing Then Exit Sub
If Target = "" Then
[H3] = ""
[I3] = ""
Else
son = Cells(Rows.Count, 3).End(3).Row
If WorksheetFunction.CountIf(Range(Cells(son, 3), Cells(2, 3)), Target) = 0 Then
[H3] = "YOK"
[I3] = "YOK"
Else
For seri = son To 2 Step -1
If Cells(seri, 3) = Target Then
For kod = seri To 2 Step -1
If Cells(kod, 2) <> "" Then
[H3] = Cells(kod, 2)
kod = 2
End If
Next
For sehir = seri To 2 Step -1
If Cells(sehir, 1) <> "" Then
[I3] = Cells(sehir, 1)
sehir = 2
End If
Next
End If
Next
End If
End If
End Sub