Excel VBA怎样多条件求符合条件的个数

2025-04-07 02:29:04
推荐回答(1个)
回答1:

k=0
For i=1 to 1000
If cells(i,1)=“A” and cells(i,2)=“B” then
k=k+1
End if
next