0
Sheets("Create Summary").Range("B3").Value2 = _
    Excel.WorksheetFunction.CountIfs( _
        wsSourceData.[P:P], "Airports", wsSourceData.[AQ:AQ], "Not completed")

I'm trying to count all values other than "completed".

2
  • Try .CountIfs(wsSourceData.Range("P:P"), "Airports", wsSourceData.wsSourceData.Range("AQ:AQ"), "<>completed")
    – taller
    Commented Apr 17 at 4:36
  • thnk you, @taller
    – Anshu
    Commented Apr 17 at 5:43

0

Browse other questions tagged or ask your own question.