Date ranges in a sum formula

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

Guest

I need to add a series of deposits received between two dates (6/1706 to
6/23/06) and can't figure out how to make it work.

Help!!

Marcus
 
E1, E2 are your two dates, A is list of dates and B your deposits

=SUMPRODUCT(--(A1:A20>=E1),--(A1:A20<=E2),B1:B20)

HTH
 
Hi!

Try one of these:

A1:A21 = dates
B1:B21 = deposits

D1 = 6/17/2006
E1 = 6/23/2006

=SUMIF(A1:A21,">="&D1,B1:B21)-SUMIF(A1:A21,">"&E1,B1:B21)

=SUMPRODUCT(--(A1:A21>=D1),--(A1:A21<=E1),B1:B21)

Biff
 

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