If you download and install a free addin called Morefunc.xll from he
'Morefunc - Free software downloads and reviews - CNET Download.com'
(
http://download.cnet.com/Morefunc/30...-10423159.html)
Then you can apply the THREED() function to span the sheets...
Code:
--------------------
=SUMPRODUCT((YEAR(THREED('00-09'!$N$7:$N$500))=YEAR($C$2))*(MONTH(THREED('00-09'!$N$7:$N$500))=MONTH($C$2))*(THREED('00-09'!$E$7:$E$500)=A28)*THREED('00-09'!$P$7:$P$500))
--------------------
--
NBVC
Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile:
http://www.thecodecage.com/forumz/member.php?userid=74
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=113712