And you can use AND as AND onlyIf Range("A1").Value = 5 thenRange("A2").Value = 3 AND Range ("A3").Value = 4End if