How can I get the criteria to change in a CountIf function in VBA as a loop progresses?

后端 未结 0 1878
难免孤独
难免孤独 2020-11-30 05:47
week = 1
y = 3
z = 18

For l = LBound(arr1) To UBound(arr1)

    Range("A1").Value = WorksheetFunction.CountIfs(Range("B2:B250"), week)
    x = R         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题