How do I count in a range of dates?

G

Guest

I have column A with dates, Colum B with $. I want to sum a dollar amount,
only if it falles within the date range.
 
G

Guest

=sumif(a:a,">="&date(2005,1,1),b:b)-sumif(a:a,">="&date(2005,2,1),b:b) should
give you the total for Jan '05. Change the date ranges to suit your needs.
 
B

Bob Phillips

=SUMPRODUCT(--(A2:A200>=--"2005-11-01"),--(A2:A200<=--"2005-11-30"),B2:B200)

you could put the dates in cells and test those cells

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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