Sub test()
Dim x%, y%, z%, Str$
x = Range("a1:a1000").Find("T*").Row
z = x
Do While x < Range("a65536").End(3).Row Or x = z
Select Case True
Case Cells(x, 1) Like "T*"
Str = Cells(x, 1)
y = 0
Case Len(Cells(x, 1)) - Len(VBA.Replace(Cells(x, 1), "X", "")) = 1
y = y + 1
Case Len(Cells(x, 1)) - Len(VBA.Replace(Cells(x, 1), "X", "")) > 1
y = y + 10
End Select
x = x + 1
If y > 10 And Right(y, 1) > 0 Then
Cells(Range("b65536").End(3).Row + 1, 2) = Str
x = Range("a1:a1000").FindNext(Cells(x, 1)).Row
End If
Loop
End Sub