codecamp

EXCEL 两种求小计之和的方法

中国教程网zhangditony翻译,转载请保留此信息 .
 

方法1 :用sum函数求小计,sumif函数求合计
方法2 :用subtotal函数求小计及合计[Use the SUBTOTAL function to sum each group in the range, then use the SUBTOTAL function to sum the subtotals values as shown in the following formula:
=SUBTOTAL(9,B3:B10)]
问题:请朋友们考虑什么情况下两种方法的答案不一致?

20070731_57bc28531a9dc70decd8wy93eztzbfy3[1].jpg

EXCEL 快速求和
EXCEL 多工作表数据求和的一个简单公式
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }