MrExcel Publishing
Your One Stop for Excel Tips & Solutions

Countif =name and between date range

Posted by Steven B. on October 10, 2001 7:02 PM

I have a list of supplier names and dates and other data that I need to produce weekly trend charts. I simply want excel to count the number of times a supplier's name occurs in column A, if the date listed in column B is between a given date range. If the countif function could be combined with "AND" it would be so simple, such as:

=countif(a1:a100,"acme machine") AND countif(b1:b100,"between 10/1/01 and <10/9/01")

This would be the intuitive formula, but of course it's not recognized.

Posted by Aladin Akyurek on October 10, 2001 10:52 PM

Multiconditional Count




where C1 houses "acme machine", C2 10/1/01, and C3 10/9/01.