=SUM(B10257:B10266)
* 直接求和,没有条件限制
=SUMIF(I:I,">=101",J:J)
* 带单条件的求和
=SUMIFS(J2:J1540,I2:I1540,">=61",I2:I1540,"<=70")
* 带多条件的求和
=SUMPRODUCT((A2:A116083>=0)*(A2:A116083<=10)*B2:B116083)
* 带多条件的求和,但不是简单的求和,慎用
=SUM(B10257:B10266)
* 直接求和,没有条件限制
=SUMIF(I:I,">=101",J:J)
* 带单条件的求和
=SUMIFS(J2:J1540,I2:I1540,">=61",I2:I1540,"<=70")
* 带多条件的求和
=SUMPRODUCT((A2:A116083>=0)*(A2:A116083<=10)*B2:B116083)
* 带多条件的求和,但不是简单的求和,慎用
转载于:https://my.oschina.net/xuegege/blog/2987664