Unlike the SumIfs formula whos syntax is Range 1, Range 2, Range 2 Criteria
CountIfs seems to be using Range 1, Range 1 Criteria, Range 2, Range 2 Criteria
the working code is :
NumACXV = Application.CountIfs(.Range("P2:P" & last), "<>", .Range("P2:P" & last), "*LOI-*", .Range("K2:K" & last), ">12/31/2013", .Range("K2:K" & last), "<8/1/2015")
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…