Sutun icinden aynı uzunlukdaki sayıları ayıklamak

Ömer

Moderatör
Yönetici
Katılım
18 Ağustos 2007
Mesajlar
22,184
Excel Vers. ve Dili
Microsoft 365 Tr
Ofis 2016 Tr
Merhaba,

=EĞER(UZUNLUK($A2)=SÜTUN(A1)+7;$A2;"")

İstediğiniz bu mu?

.
 

leumruk

Uzman
Uzman
Katılım
15 Nisan 2007
Mesajlar
3,471
Excel Vers. ve Dili
Office 2010 & 2013 tr
Merhaba,
Makroyla bir alternatif,
Kod:
Sub ayır()
For x = 2 To [a65536].End(3).Row
If Len(Cells(x, "a")) = 8 Then
Cells(x, "a").Cut Cells(x, "b")
ElseIf Len(Cells(x, "a")) = 9 Then
Cells(x, "a").Cut Cells(x, "c")
ElseIf Len(Cells(x, "a")) = 10 Then
Cells(x, "a").Cut Cells(x, "d")
ElseIf Len(Cells(x, "a")) = 11 Then
Cells(x, "a").Cut Cells(x, "e")
ElseIf Len(Cells(x, "a")) = 12 Then
Cells(x, "a").Cut Cells(x, "f")
End If
Next
Application.CutCopyMode = False
End Sub
 

Ekli dosyalar

Necdet

Moderatör
Yönetici
Katılım
4 Haziran 2005
Mesajlar
15,449
Excel Vers. ve Dili
Ofis 365 Türkçe
Merhaba,

Alternatif makro da benden olsun.

Kod:
Sub SutunAyir()
For i = 2 To [A65536].End(3).Row
    If Len(Cells(i, "A")) > 7 Then
        Cells(i, Len(Cells(i, "A")) - 6) = Cells(i, "A")
        Cells(i, "A") = ""
    End If
Next i
End Sub
 

Necdet

Moderatör
Yönetici
Katılım
4 Haziran 2005
Mesajlar
15,449
Excel Vers. ve Dili
Ofis 365 Türkçe
1 Soru 4 Yanıt
Sonuç?
 
Üst