Sumproduct

  • Thread starter Thread starter osaka78
  • Start date Start date
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top