=IF($A$50=3,SUMIF('201103帐'!$D4:$D53,"收入",'201103帐'!$G4:$G53),IF($A$50=4,SUMIF('201104帐'!$D4:$D53,"收入",'201104帐'!$G4:$G53),IF($A$50=5,SUMIF('201105帐'!$D4:$D53,"收入",'201105帐'!$G4:$G53),IF($A$50=6,SUMIF('201106帐'!$D4:$D53,"收入",'201106帐'!$G4:$G53),IF($A$50=7,SUMIF('201107帐'!$D4:$D53,"收入",'201107帐'!$G4:$G53),IF($A$50=8,SUMIF('201108帐'!$D4:$D53,"收入",'201108帐'!$G4:$G53),IF($A$50=9,SUMIF('201109帐'!$D4:$D53,"收入",'201109帐'!$G4:$G53),IF($A$50=10,SUMIF('201110帐'!$D4:$D53,"收入",'201110帐'!$G4:$G53),IF($A$50=11,SUMIF('201111帐'!$D4:$D53,"收入",'201111帐'!$G4:$G53),SUMIF('201112帐'!$D4:$D53,"收入",'201112帐'!$G4:$G53))))))))))
|