EXCEL求和问题,自动将正数相加,自动将负数相加

2024-11-19 07:22:59
推荐回答(2个)
回答1:

正数合计=SUMIF(b2:b100,">0")
负数合计=SUMIF(b2:b100,"<0")

回答2:

正数合计:=sumif(A1:An,">0")
负数合计:=sumif(A1:An,"<0")