Count with date range

P

Porlie

I need help to count data that are between dates. Col A "Red", "Blue", Col B
"date"
I need to count all the reds in col A that are between 01/07/08 + 31/07/08,
any ideas?
 
B

Bob Phillips

=SUMPRODUCT(--(A2:A200="Red"),--(B2:B200>=--"2008-07-01"),--(B2:B200<=--"2008-07-31"))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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