SUMPRODUCT with two criteria and range

Joined
May 16, 2006
Messages
1
Reaction score
0
All,

I hope someone can help me as I am going nuts trying to sort out a SUMPRODUCT function.

Spread sheet as follows:

Column A: Date (e.g. 01/01/06)
Column B: Type of product (e.g. camera, lens, etc)
Column C: Cost of product (£)

What I want to do is sum column C for all cameras in January. I have used the SUMPRODUCT function which almost works almost OK:

=SUMPRODUCT((A2:A10=01/01/06)*(B2:B10="camera"),C2:C10)

This is great if I want to know total value of cameras on one specific date (e.g. 01/01/06) but I want to calculate the total value of all cameras between two dates (i.e. all of January).

Can I somehow implement A2:A10>01/01/06 AND <02/02/06 in the above function? I have tried and failed!
 

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

Top