Count if for # for how many cells contain a specific date range

B

Bryan

I have a worksheet with multiple dates in a column. I
want to count how many cells in that column contain dates
for a particular month. Right now I am using countif with
this formula ">12/31/2003 and <02/01/2004" to try to get
Jan 04. I know that I have 18 cells with Jan 04 dates,
but the formula is returning 1. Please advise.
 
F

Frank Kabel

Hi
try something like
=SUMPRODUCT(--(YEAR(A1:A100)=2003),--(MONTH(A1:A100)=12))
 

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