Count Dates

M

Matthew Tyrus

I have a list of dates in the following format MM/DD/YYYY.

1/11/2008
1/12/2008
1/30/2008
1/10/2008
1/10/2008
1/10/2008
1/12/2008
1/6/2008

I want to know how many times a date falls in-between a certain week. For
instance, countif(range,">=1/1/2008","<=1/6/2008"). It should be 1.

Any help?
 
T

T. Valko

Try this:

Enter you date boundaries in cells:

C1 = 1/1/2008
D1 = 1/6/2008

=COUNTIF(A1:A8,">="&C1)-COUNTIF(A1:A8,">"&D1)
 

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