Sorry, read a little more into your question
Have one X1 = the date of your worksheet
Have x2 =EOMONTH(F273,-3)+1 (this is 3 mths prior period start)
Then enter the array as this
=SUM(($b$2:$T$200)*($a$2:$a$200<=x1)*($a$2:$a$200 =x2))
a2:a200 are the dates
b2:b200 are the values
--
macroll
------------------------------------------------------------------------
macroll's Profile:
http://www.excelforum.com/member.php...o&userid=23211
View this thread:
http://www.excelforum.com/showthread...hreadid=559483