DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub degistir()
For a = 2 To [a65536].End(3).Row
If WorksheetFunction.CountIf(Range("c2:c" & a), Cells(a, "c")) = 1 Then
[f:f].Replace What:=Cells(a, "c"), Replacement:=Cells(a, "a"), LookAt:=xlWhole, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End If
Next
End Sub
Sub BulDeğis()
For i = 2 To Cells(Rows.Count, "C").End(xlUp).Row
Set c = Range("C:C").Find(Cells(i, "F"), , LookIn:=xlValues)
If Not c Is Nothing Then
Cells(i, "F") = Range("A" & c.Row)
End If
Next i
End Sub
Sub sira_59()
Dim no As Long, i As Long, sat As Long, j As Long, aralik As Long
Application.ScreenUpdating = False
Range("A2:C65536").Clear
sat = Cells(65536, "F").End(xlUp).Row
If sat < 2 Then GoTo son
j = 2
For i = 2 To sat
If Cells(i, "F").Value <> "" Then
Cells(j, "C").Value = Cells(i, "F").Value
j = j + 1
End If
Next
Range("C2:C" & j).Sort key1:=Range("C2"), order1:=xlDescending
sat = Cells(65536, "C").End(xlUp).Row
j = 2
For i = 2 To sat
If WorksheetFunction.CountIf(Range("C2:C" & i), Cells(i, "C").Value) = 1 Then
no = no + 1
aralik = WorksheetFunction.CountIf(Range("C" & i & ":C" & sat), Cells(i, "C").Value)
Range("A" & i & ":A" & i + aralik).Value = no
End If
Next
son:
Application.ScreenUpdating = True
MsgBox "İşlem tamamlandı" & vbLf & "evrengizlen@hotmail.com", vbOKOnly + vbInformation, "E V R E N"
End Sub
Levent bey ve Ömer bey konuyu benden farklı anlamışlar.öncelikle cevaplarınızı bu kadar hızlı sürede verdiğiniz için ayrı ayrı teşekkürlerimi sunarım. bilseydim bu kadar hızlı geleceğini akşam beklerdim. =)))
şu an hepsini tek tek inceliyorum. Saygı ve sevgilerimi sunarım.
Sub SıraNoVer()
Dim i As Long, de As Long, fe As Long, sira As Long, son As Long
son = Cells(Rows.Count, "F").End(xlUp).Row
Application.ScreenUpdating = False
Range("B2:B" & son).ClearContents
For i = 2 To son
If de <> Cells(i, "D") Then
sira = 1
de = Cells(i, "D")
fe = Cells(i, "F")
Else
If fe <> Cells(i, "F") Then
sira = sira + 1
fe = Cells(i, "F")
End If
End If
Cells(i, "B") = sira
Next i
Application.ScreenUpdating = True
End Sub