sumproduct of two categories

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a sumproduct to count items within a given date range:

=SUMPRODUCT(--(((TDL!P2:P700<=AE4)*TDL!P2:P700)>=AC4))

but I need narrow this even further to count only items that match "Gadget"
in another range of entries.

.....and (S&D!H2:H700="Gadget")

I keep getting errors (#N/A).
 
Try this:

=SUMPRODUCT((TDL!P2:P700>=AC4)*(TDL!P2:P700<=AE4)*(S&D!H2:H700="Gadget"))

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 

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