I have code that is supposed to delete every row that contains a O in column T, but it is deleting every other row that contains a 0 in column T.

Here is the code

   For i = 2 To LastRow
        If Cells(i, "T").Value = 0 Then
        Rows(i).Delete
        End If
    Next i
i = 2 because the first row has headers and because I was getting a data type mismatch error.

Any suggestions?