2011-02-13 64 views

回答

2

更有效,你可以使用:

=MAX(0, SUM(A1:A5)) 
1

试试这个:

=IF(SUM(A1:A5) < 0, 0, SUM(A1:A5)) 

或根据您所在地区:

=IF(SUM(A1:A5) < 0; 0; SUM(A1:A5)) 

这意味着:

IF the sum of the cells A1 + A2 + A3 + A4 + A5 is less than 0 
    make it 0 
ELSE 
    make it the sum of the cells A1 + A2 + A3 + A4 + A5 
+0

@巴特凯尔斯谢谢。 =) – dwyane 2011-02-13 12:08:29

+0

@dwyane,不客气。 – 2011-02-13 12:10:45