ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sumproduct - Date Range (https://www.excelbanter.com/excel-discussion-misc-queries/236633-sumproduct-date-range.html)

Jackrabbit181

Sumproduct - Date Range
 
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

Gary Keramidas

Sumproduct - Date Range
 
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))

--

Gary Keramidas
Excel 2003


"Jackrabbit181" wrote in message
...
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




All times are GMT +1. The time now is 02:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com