在g2栏输入=d2+e2-f2完成后,光标移到g2栏右下角,变为黑色加号后按鼠标向下拖动至g13计算完成!
=IF(A1<>"",A1,"")A1是你要判断的单元格
=IF(AND(A1<>"",B1<>"",C1<>""),A1+B1+C1,"")
=if(A1<>"",A1)
=if(A1+B1+C1=0,"",A1+B1+C1)