Sumproduct

O

osaka78

a b c d
1 10/2/08 11/2/08 12/2/08
2 xy 5 10 15
3ss 9 12 16

I want to get total if from 11/2/08 to 12/2/08 and ss = 28
 
M

Mike H

try,

=SUMPRODUCT((B1:D1>=DATE(2008,2,11))*(B1:D1<=DATE(2008,2,12))*(A2:A3="ss")*(B2:D3))

Mind the line-wrap, it's all one line.

Mike
 
Top