正數(shù):=SUM(IF(A1:A10>0,A1:A10))負(fù)數(shù):=SUM(IF(A1:A10<0,A1:A10))都是數(shù)組公式,在編輯欄里輸入公式后,CTRL+SHIFT+ENTER鍵同時(shí)按下!
正數(shù)相加的條件就是大于0,負(fù)數(shù)相加的條件就是小于0。
正數(shù)之和 =SUMIF(A1:A12,">=0")負(fù)數(shù)之和 =SUMIF(A1:A12,"<0")如果是一行中 比如 A1:H1公式就設(shè)為:正數(shù)之和 =SUMIF(A1:H1">=0")負(fù)數(shù)之和 =SUMIF(A1:H1,"<0")如果是一個(gè)多單元格區(qū)域有行有...
設(shè)數(shù)據(jù)在A列,在B1輸入:=SUMIF(A:A,"<0"),可得負(fù)數(shù)和B2輸入:=SUMIF(A:A,">0"),可得正數(shù)和
在T10輸入=SUMIF(S10:S24,">0")在T11輸入=SUMIF(S10:S24,"<0")
1.打開(kāi)WPS表格數(shù)據(jù),分別計(jì)算正數(shù)與負(fù)數(shù)之和。2.運(yùn)用到SUMIF函數(shù)。3.函數(shù)的第一個(gè)參數(shù)是區(qū)域,就是需要求和的數(shù)據(jù)區(qū)域,第二個(gè)參數(shù)是條件,關(guān)于正數(shù)的也就是大于0的值。4.點(diǎn)擊回車(chē)即可得出結(jié)果,對(duì)于負(fù)數(shù)之和,條件就要更改為...
=SUMIF(A2:Z101,"<0")=SUMIF(A2:Z101,">0")分別計(jì)算此區(qū)域中負(fù)數(shù)的和及正數(shù)的和。
正的輸入公式:=SUMIF(F:F,">0",F:F),負(fù)的輸入公式:=SUMIF(F:F,"<0",F:F)
假設(shè)求B2:B100中的正數(shù)和:=sum(if(b2:b100>0,b2:b100))按ctrl+shift+enter三鍵.求負(fù)數(shù)的和:=sum(if(b2:b1000)*b2:b100)負(fù)數(shù)和:=sumproduct((b2:b100
你好!比如對(duì)A列中的負(fù)數(shù)求和用以下公式,=SUMIF(A:A,"<0")正數(shù)就寫(xiě)=SUMIF(A:A,">0")如有疑問(wèn),請(qǐng)追問(wèn)。