nickmax1,
Add this macro to your workbook and run. Hopefully this should do the trick if I have understood you correctly.
Public Sub GetUnavailable()
Application.ScreenUpdating = False
Dim intPlayers As Integer: Dim intDays As Integer: Dim intUnavail As Integer
For intPlayers = 6 To ThisWorkbook.Sheets("Sheet1").Cells(6, 1).End(xlDown).Row 'Row 6 to Last Player Name
For intDays = 2 To 7 'Column B to G
If ThisWorkbook.Sheets("Sheet1").Cells(intPlayers, intDays).Value = "N" Then
intUnavail = ThisWorkbook.Sheets("Sheet1").Cells(65000, 1).End(xlUp).Row + 1
ThisWorkbook.Sheets("Sheet1").Cells(intUnavail, 1).Value = ThisWorkbook.Sheets("Sheet1").Cells(5, intDays).Value
ThisWorkbook.Sheets("Sheet1").Cells(intUnavail, 2).Value = ThisWorkbook.Sheets("Sheet1").Cells(intPlayers, 1).Value
End If
Next intDays
Next intPlayers
Application.ScreenUpdating = True
End Sub
Thanks
Stu
Bookmarks