Sumproduct - Date Range

J

Jackrabbit181

How do I incorporate a date range into a sumproduct formula.

I would like to add everything up that is greater than 1 date and equal to
or less than another.

Thanks
Rick
 
G

Gary Keramidas

you can try this, it sums column C for the dates in Column B

=SUMPRODUCT(--(B1:B4>=DATEVALUE("1/1/09")),--(B1:B4<=DATEVALUE("4/1/09")),(C1:C4))
 
Top