Sub randomize_test()
Dim a%, b%, c%
a = WorksheetFunction.CountA(Range("a1:a" [a65536].End(xlUp).Row))
c = 1
Do While c &<= a
b = Int(Rnd * a) + 1
If Cells(b, 2) &<&> 1 Then
Cells(b, 2) = 1
Cells(b, 1).Copy
Cells(c, 3).Select
ActiveSheet.Paste
c = c + 1
End If
Loop
Columns(2) = ""
End Sub