Sub Or_So()
Dim lc As Long, lr As Long
lc = Cells.Find("*", , , , xlByColumns, xlPrevious).Column
lr = Cells.Find("*", , , , xlByRows, xlPrevious).Row
Application.ScreenUpdating = False
With Cells(1, lc + 1).Resize(lr)
.Formula = "=COUNTA(RC[" & -lc & "]:RC[-1])"
.Value = .Value
.Replace 0, "=XXX", xlWhole, , False, , False, False
.SpecialCells(xlFormulas, xlErrors).EntireRow.Delete
End With
Columns(lc + 1).ClearContents
Application.ScreenUpdating = True
End Sub