Thread: [Solved] VBA formulas
View Single Post
 
Old 01-18-2016, 10:31 AM
zhead zhead is offline Windows 7 64bit Office 2010 64bit
Advanced Beginner
 
Join Date: Mar 2015
Location: Texas
Posts: 32
zhead is on a distinguished road
Default

is this correct? I get an answer of 0
With Range("AE2")
.Value2 = Application.CountIfs(Range("N:N"), "4", Range("G:G"), "OPEN", Range("O:O"), ">0")
.NumberFormat = "#,##0"
End With

But with this in a cell I get an answer of 4
=COUNTIFS(G:G,"OPEN",N:N,"4",O:O,">0")
Reply With Quote