奇数行:=SUMPRODUCT((MOD(ROW(1:10),2)=1)*(A1:A10="a"))
偶数行: =SUMPRODUCT((MOD(ROW(1:10),2)=0)*(A1:A10="a"))
这里只按10行做了例子,具体根据你的实际需要调整
=SUMPRODUCT((MOD(ROW(1:1000,2)=0)*(A1:A1000="a"))