Try:
Sub NoShow()
Application.ScreenUpdating = False
Dim LastRow As Long
LastRow = Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
Dim sDateCol As Long, tDateCol As Long, NoShowCol As Long
sDateCol = Rows(1).Find("Start Date").Column
tDateCol = Rows(1).Find("Term Date").Column
NoShowCol = Rows(1).Find("No Show?").Column
Cells(2, NoShowCol).FormulaR1C1 = "=IF(RC[-2]=RC[-1],""Yes"",""No"")"
Cells(2, NoShowCol).AutoFill Destination:=Range(Cells(2, NoShowCol), Cells(LastRow, NoShowCol))
Range(Cells(2, NoShowCol), Cells(LastRow, NoShowCol)).Value = Range(Cells(2, NoShowCol), Cells(LastRow, NoShowCol)).Value
Application.ScreenUpdating = True
End Sub
Bookmarks