title: Countifs VBA to count non blank cells
body: <p>I have the following VBA formula to count non blank cells in a range, plus some other conditions in other ranges. The part to count non blank cells is not working. This is the piece of code:</p>
  
  <pre><code>LAX(0) = Application.WorksheetFunction.CountIfs(Range("I:I"), "&lt;&gt;""", Range("AH:AH"), "LAX", Range("AG:AG"), "&gt;=" &amp; semanaI, Range("AG:AG"), "&lt;=" &amp; semanaF)
  </code></pre>
  
  <p>Are the first two arguments correct?</p>