With dates in C1 and C2
=SUMPRODUCT(--(A1:A100>=C1),--(A1:A100<=D1),M1:M100)
If this post helps click Yes
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.