ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count with date range (https://www.excelbanter.com/excel-worksheet-functions/192272-count-date-range.html)

Porlie

Count with date range
 
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?

Bob Phillips

Count with date range
 
=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)

"Porlie" wrote in message
...
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?




Porlie

Count with date range
 
Thanks, worked a treat

"Porlie" wrote:

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?



All times are GMT +1. The time now is 07:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com