DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub sınıf()
sonöğrenci = Cells(Rows.Count, "A").End(3).Row
sonşube = Cells(Rows.Count, "L").End(3).Row
For öğrenci = 1 To sonöğrenci
For şube = 5 To sonşube
If Cells(şube, "M") = "" Then
Cells(öğrenci, "B") = Cells(şube, "L")
If Cells(öğrenci + 1, "A") = 1 Then Cells(şube, "M") = "şube doldu"
şube = sonşube
End If
Next
Next
Range("M5:M" & sonşube) = ""
End Sub