I want to count the total Number of dates between two dates How?

S

seshu

I have a Date Column and want to count number of dates which fall between two
specified dates. i.e

Date
01/20/08 i wish to count the number of dates in this column =>
01/15/08 and
02/15/08 <=02/15/08. ffrom the example we should get the count as 3.
03/20/08 can Use please help me with the formula?
01/25/08 Thanks

seshadri
 
T

T. Valko

Try one of these.

Using cells to hold the date boundaries:

C1 = 1/15/2008
D1 = 2/15/2008

Dates in column A

=INDEX(FREQUENCY(A:A,C1:D1-{1,0}),2)

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

Format as GENERAL or NUMBER
 
S

seshu

Thanks Verymuch for your Fast Responce Valko. It worked. Thanks again
Regards
Seshadri
 

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