EXCEL中,A11=SUM(A1:A10),求公式:当A1>=0,A11=SUM(A1:A10);当A1<0,A11不包含A1的值.谢谢帮我解答一下!

2024-12-21 00:08:25
推荐回答(5个)
回答1:

a11=if(a1<0,sum(a2:a10),sum(a1:a10))

回答2:

=SUMIF(A1:A10,">0")

回答3:

=if(A1>=0,A1=SUM(A1:A10),A1=SUM(A2:A10))

回答4:

a11键入:
=sumif(a1:a10,"a1>=0")

回答5:

=IF(A1<0,SUM(A2:A10),SUM(A1:A10))