x = 0 For Each cell in Sheets("01").Range("A:A").Cells If cell.Value = "aaa" And cell.Offset(0, 1).Value = "bbb" Then x = x+1 End If Next cell MsgBox x
Is there a shorter way, pls ?