多表数据合计.rar
(3.42 KB, 下载次数: 52)
----------------答案:----------------
C2=IF(ISNA(VLOOKUP(B2,Sheet1!$B$1:$C$28,2,0)),0,VLOOKUP(B2,Sheet1!$B$1:$C$28,2,0))+IF(ISNA(VLOOKUP(B2,Sheet2!$B$1:$C$28,2,0)),0,VLOOKUP(B2,Sheet2!$B$1:$C$28,2,0))+IF(ISNA(VLOOKUP(B2,Sheet3!$B$1:$C$28,2,0)),0,VLOOKUP(B2,Sheet3!$B$1:$C$28,2,0))
C2=SUM(SUMIF(INDIRECT("Sheet"&{1;2;3}&"!B:b"),B2,INDIRECT("Sheet"&{1;2;3}&"!c:c")))
===================
http://club.excelhome.net/viewthread.php?tid=395690
[ 本帖最后由 52UEXCEL 于 2011-7-22 09:51 编辑 ] |